Skip to content

Commit f3218f9

Browse files
committed
Add new pytest versions to CI
- disable pip version check to avoid annotation errors (see actions/setup-python#809)
1 parent 2abf155 commit f3218f9

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/testsuite.yml

+10-6
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
runs-on: ${{ matrix.os }}
2424
env:
2525
PYTHONWARNDEFAULTENCODING: true
26+
PIP_DISABLE_PIP_VERSION_CHECK: 1
2627
strategy:
2728
fail-fast: false
2829
matrix:
@@ -104,12 +105,14 @@ jobs:
104105

105106
pytest-test:
106107
runs-on: ${{ matrix.os }}
108+
env:
109+
PIP_DISABLE_PIP_VERSION_CHECK: 1
107110
strategy:
108111
fail-fast: false
109112
matrix:
110113
os: [ubuntu-latest, macOS-latest, windows-latest]
111114
python-version: ["3.9"]
112-
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]
115+
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]
113116
steps:
114117
- uses: actions/checkout@v4
115118
- name: Set up Python ${{ matrix.python-version }}
@@ -118,12 +121,13 @@ jobs:
118121
python-version: ${{ matrix.python-version }}
119122
- name: Install dependencies
120123
run: |
121-
pip install -r requirements.txt
122-
pip install -U pytest==${{ matrix.pytest-version }}
123-
pip install opentimelineio pandas parquet pyarrow
124-
pip install -e .
124+
python -m pip install --upgrade pip
125+
python -m pip install -r requirements.txt
126+
python -m pip install -U pytest==${{ matrix.pytest-version }}
127+
python -m pip install opentimelineio pandas parquet pyarrow
128+
python -m pip install -e .
125129
if [[ '${{ matrix.pytest-version }}' == '4.0.2' ]]; then
126-
pip install -U attrs==19.1.0
130+
python -m pip install -U attrs==19.1.0
127131
fi
128132
shell: bash
129133
- name: Run pytest tests

0 commit comments

Comments
 (0)