diff options
author | mrbean-bremen <hansemrbean@googlemail.com> | 2024-05-12 10:26:57 +0200 |
---|---|---|
committer | mrbean-bremen <mrbean-bremen@users.noreply.github.com> | 2024-05-12 11:59:38 +0200 |
commit | f3218f9681ac1cd65160f4d4ebab53e722176c0e (patch) | |
tree | 21fa69beebf573e1736f0293130147a79e8e9339 | |
parent | 2abf155fa09e9357b9414487fa995d80e93b1f74 (diff) | |
download | pyfakefs-upstream-main.tar.gz |
Add new pytest versions to CIupstream-main
- disable pip version check to avoid annotation errors
(see https://github.com/actions/setup-python/issues/809)
-rw-r--r-- | .github/workflows/testsuite.yml | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml index b8c01c6..a279b8b 100644 --- a/.github/workflows/testsuite.yml +++ b/.github/workflows/testsuite.yml @@ -23,6 +23,7 @@ jobs: runs-on: ${{ matrix.os }} env: PYTHONWARNDEFAULTENCODING: true + PIP_DISABLE_PIP_VERSION_CHECK: 1 strategy: fail-fast: false matrix: @@ -104,12 +105,14 @@ jobs: pytest-test: runs-on: ${{ matrix.os }} + env: + PIP_DISABLE_PIP_VERSION_CHECK: 1 strategy: fail-fast: false matrix: os: [ubuntu-latest, macOS-latest, windows-latest] python-version: ["3.9"] - pytest-version: [3.0.0, 3.5.1, 4.0.2, 4.5.0, 5.0.1, 5.4.3, 6.0.2, 6.2.5, 7.0.1, 7.1.3, 7.2.0, 7.3.1, 7.4.0] + pytest-version: [3.0.0, 3.5.1, 4.0.2, 4.5.0, 5.0.1, 5.4.3, 6.0.2, 6.2.5, 7.0.1, 7.4.4, 8.0.2, 8.1.2, 8.2.0] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} @@ -118,12 +121,13 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - pip install -r requirements.txt - pip install -U pytest==${{ matrix.pytest-version }} - pip install opentimelineio pandas parquet pyarrow - pip install -e . + python -m pip install --upgrade pip + python -m pip install -r requirements.txt + python -m pip install -U pytest==${{ matrix.pytest-version }} + python -m pip install opentimelineio pandas parquet pyarrow + python -m pip install -e . if [[ '${{ matrix.pytest-version }}' == '4.0.2' ]]; then - pip install -U attrs==19.1.0 + python -m pip install -U attrs==19.1.0 fi shell: bash - name: Run pytest tests |