ci: install pytest-subtests

Which lets pytest understand unittest.subtest
pull/9666/head
Dylan Baker 3 years ago committed by Eli Schwartz
parent d0b651525e
commit 7191b6dab2
  1. 2
      .github/workflows/cygwin.yml
  2. 2
      .github/workflows/macos.yml
  3. 2
      .github/workflows/msys2.yml
  4. 1
      ci/ciimage/common.sh
  5. 2
      ci/run.ps1

@ -74,7 +74,7 @@ jobs:
- name: Run pip
run: |
export PATH=/usr/bin:/usr/local/bin:$(cygpath ${SYSTEMROOT})/system32
python3 -m pip --disable-pip-version-check install gcovr jsonschema pefile pytest pytest-xdist coverage codecov
python3 -m pip --disable-pip-version-check install gcovr jsonschema pefile pytest pytest-subtests pytest-xdist coverage codecov
shell: C:\cygwin\bin\bash.exe --noprofile --norc -o igncr -eo pipefail '{0}'
- name: Run tests

@ -30,7 +30,7 @@ jobs:
python-version: '3.x'
- run: |
python -m pip install --upgrade pip
python -m pip install pytest pytest-xdist jsonschema coverage codecov
python -m pip install pytest pytest-xdist pytest-subtests jsonschema coverage codecov
- run: brew install pkg-config ninja llvm qt@5
- env:
CPPFLAGS: "-I/usr/local/include"

@ -79,7 +79,7 @@ jobs:
- name: Install dependencies
run: |
python3 -m pip --disable-pip-version-check install gcovr jsonschema pefile pytest pytest-xdist coverage codecov
python3 -m pip --disable-pip-version-check install gcovr jsonschema pefile pytest pytest-subtests pytest-xdist coverage codecov
- name: Run Tests
run: |

@ -13,6 +13,7 @@ set -x
base_python_pkgs=(
pytest
pytest-xdist
pytest-subtests
coverage
codecov
jsonschema

@ -81,7 +81,7 @@ python --version
# Needed for running unit tests in parallel.
echo ""
python -m pip --disable-pip-version-check install --upgrade pefile pytest-xdist jsonschema coverage
python -m pip --disable-pip-version-check install --upgrade pefile pytest-xdist pytest-subtests jsonschema coverage
echo ""
echo "=== Start running tests ==="

Loading…
Cancel
Save