add osx skip, skip win tests
@@ -26,6 +26,9 @@ requirements:
run:
- python >=3.5
+{% set pytest_args = "--cov-fail-under 92" %}
+{% set pytest_args = '-k "not fqdn"' %} # [osx]
+
test:
source_files:
- src/tests
@@ -34,7 +37,7 @@ test:
commands:
- pip check
- ephemeral-port-reserve
- - cd src/tests && pytest -vv --cov ephemeral_port_reserve --cov-report term-missing:skip-covered --no-cov-on-fail --cov-fail-under 92
+ - cd src/tests && pytest -vv --cov ephemeral_port_reserve --cov-report term-missing:skip-covered --no-cov-on-fail {{ pytest_args }} # [unix]
requires:
- pip
- pytest-cov
