Skip to content

Commit 4ab625b

Browse files
committed
Use only Python 3.11
1 parent 6261930 commit 4ab625b

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/2018.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
strategy:
1818
matrix:
1919
python-version:
20-
- pypy-2.7
21-
- pypy-3.11
20+
- '3.11'
21+
- 'pypy3.11'
2222
runs-on: ubuntu-latest
2323
defaults:
2424
run:
@@ -38,11 +38,16 @@ jobs:
3838
- name: Install dependencies
3939
run: |
4040
python -m pip install --upgrade pip
41-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
41+
pip install -r requirements.txt
4242
4343
- name: Lint with pylint
4444
run: pylint ./day*/
4545
if: ${{ !contains(matrix.python-version, '2.' )}}
4646

4747
- name: Test with pytest
48+
run: pytest -n auto
49+
if: ${{ !contains(matrix.python-version, 'pypy' )}}
50+
51+
- name: Test with pytest (slow)
4852
run: pytest -n auto --slow
53+
if: ${{ contains(matrix.python-version, 'pypy' )}}

0 commit comments

Comments
 (0)