diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index 90a5d70b8e..b08b389005 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -59,7 +59,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install pytest pytest-subtests pytest-xdist + pip install -r ci-requirements.txt python ModuleUpdate.py --yes --force --append "WebHostLib/requirements.txt" python Launcher.py --update_settings # make sure host.yaml exists for tests - name: Unittests diff --git a/ci-requirements.txt b/ci-requirements.txt new file mode 100644 index 0000000000..12460e4f15 --- /dev/null +++ b/ci-requirements.txt @@ -0,0 +1,3 @@ +pytest>=8.4.2,<9 # pytest 9.0.0 is broken for our CI +pytest-xdist>=3.8.0 +pytest-subtests>=0.15.0 # will not be required anymore once we upgrade to pytest 9.x