Skip to content

Commit

Permalink
Add new pytest versions to CI
Browse files Browse the repository at this point in the history
- disable pip version check to avoid annotation errors
  (see actions/setup-python#809)
  • Loading branch information
mrbean-bremen committed May 12, 2024
1 parent 2abf155 commit f3218f9
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/testsuite.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f3218f9

Please sign in to comment.