diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index b060432bd..26a810219 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -61,4 +61,4 @@ jobs: run: | gtimeout 60 bash -c 'while ! wget -O /dev/null -T 1 http://localhost:4444/readyz; do echo waiting for selenium server; sleep 1; done' || (cat selenium-standalone.log && exit 2) - tox -e tests_macos_selenium -- -m macos -n 1 tests/test_webdriver_remote.py; + tox -e tests_macos_selenium -- -n 1 tests/test_webdriver_remote.py; diff --git a/tox.ini b/tox.ini index 8e3335d22..c71f43803 100644 --- a/tox.ini +++ b/tox.ini @@ -2,7 +2,7 @@ extras = zope.testbrowser, django, flask deps = -rrequirements/test.txt commands= - pytest --ignore-flaky -v {posargs} + pytest --ignore-flaky - -v {posargs} [testenv:tests_selenium] @@ -10,7 +10,7 @@ extras = selenium deps = -rrequirements/test.txt commands= - pytest --ignore-flaky -v {posargs} + pytest --ignore-flaky -m "not macos" -v {posargs} [testenv:tests_windows_selenium] @@ -27,4 +27,4 @@ extras = selenium deps = -rrequirements/test.txt commands= - pytest --ignore-flaky -v {posargs} + pytest --ignore-flaky -m macos -v {posargs}