From ac85e3a38328fa8128f79a7c09494368ca2b4d25 Mon Sep 17 00:00:00 2001 From: Andrei Medvedev Date: Thu, 21 Dec 2023 10:49:58 +0200 Subject: [PATCH] Add macos filter for tox --- .github/workflows/macos.yml | 2 +- tox.ini | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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..6d168fe66 100644 --- a/tox.ini +++ b/tox.ini @@ -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}