skip some tests on windows
@@ -29,7 +29,11 @@ test:
- pip_requirements_parser
commands:
- pip check
- - cd tests && pytest -vv --cov pip_requirements_parser --cov-report term-missing:skip-covered --no-cov-on-fail --cov-fail-under 89
+ {% set skips = "" %}
+ {% set cov = 89 %}
+ {% set skips = "-k 'not (to_dict or dumps_unparse or unexisting_path)'" %} # [win]
+ {% set cov = 89 %} # [win]
+ - cd tests && pytest -vv --cov pip_requirements_parser --cov-report term-missing:skip-covered --no-cov-on-fail --cov-fail-under {{ cov }} {{ skips }}
requires:
- pip
- pytest-cov
