Skip to content

Commit 27b1954

Browse files
authored
GitHub Actions: run tests on PyPy3.11
We are having trouble installing pylint v3.3.5 on PyPy3.11 on GitHub Actions. Also, `pip install --help` shows six different `--u*` options so when writing commands that others will read, explicitly use the self-documenting `--upgrade` instead of `-U`. * --user * --upgrade * --upgrade-strategy <upgrade_strategy> * --use-pep517 * --use-feature <feature> * --use-deprecated <feature>
1 parent 78666e4 commit 27b1954

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/tests.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
strategy:
3232
fail-fast: false
3333
matrix:
34-
python-version: [3.9, "3.10", "3.11", "3.12", "3.13"]
34+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.11"]
3535
outputs:
3636
python-key: ${{ steps.generate-python-key.outputs.key }}
3737
steps:
@@ -63,8 +63,8 @@ jobs:
6363
run: |
6464
python -m venv venv
6565
. venv/bin/activate
66-
python -m pip install -U pip setuptools wheel
67-
pip install -U -r requirements_test.txt
66+
python -m pip install --upgrade pip setuptools wheel
67+
pip install --upgrade -r requirements_test.txt
6868
- name: Run pytest
6969
run: |
7070
. venv/bin/activate
@@ -177,7 +177,7 @@ jobs:
177177
strategy:
178178
fail-fast: false
179179
matrix:
180-
python-version: [3.9, "3.10", "3.11", "3.12", "3.13"]
180+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.11"]
181181
steps:
182182
- name: Set temp directory
183183
run: echo "TEMP=$env:USERPROFILE\AppData\Local\Temp" >> $env:GITHUB_ENV
@@ -210,8 +210,8 @@ jobs:
210210
run: |
211211
python -m venv venv
212212
. venv\\Scripts\\activate
213-
python -m pip install -U pip setuptools wheel
214-
pip install -U -r requirements_test_min.txt
213+
python -m pip install --upgrade pip setuptools wheel
214+
pip install --upgrade -r requirements_test_min.txt
215215
- name: Run pytest
216216
run: |
217217
. venv\\Scripts\\activate
@@ -256,8 +256,8 @@ jobs:
256256
run: |
257257
python -m venv venv
258258
. venv/bin/activate
259-
python -m pip install -U pip setuptools wheel
260-
pip install -U -r requirements_test_min.txt
259+
python -m pip install --upgrade pip setuptools wheel
260+
pip install --upgrade -r requirements_test_min.txt
261261
- name: Run pytest
262262
run: |
263263
. venv/bin/activate
@@ -300,8 +300,8 @@ jobs:
300300
run: |
301301
python -m venv venv
302302
. venv/bin/activate
303-
python -m pip install -U pip setuptools wheel
304-
pip install -U -r requirements_test_min.txt
303+
python -m pip install --upgrade pip setuptools wheel
304+
pip install --upgrade -r requirements_test_min.txt
305305
- name: Run pytest
306306
run: |
307307
. venv/bin/activate

0 commit comments

Comments
 (0)