Skip to content

Commit

Permalink
Add new pytest versions to CI
Browse files Browse the repository at this point in the history
- always use current pip to avoid annotation errors
  • Loading branch information
mrbean-bremen committed May 12, 2024
1 parent 2abf155 commit 728a6ee
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ jobs:
- name: Install dependencies
run: |
pip install setuptools wheel
pip install -r requirements.txt
python -m pip install --upgrade pip
python -m pip install setuptools wheel
python -m pip install -r requirements.txt
- name: Run unit tests without extra packages as non-root user
run: |
export TEST_REAL_FS=1
Expand Down Expand Up @@ -109,7 +110,7 @@ jobs:
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 }}
Expand All @@ -118,12 +119,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
Expand Down

0 comments on commit 728a6ee

Please sign in to comment.