Skip to content

Commit 7a6ac19

Browse files
authored
Merge pull request #61 from cclauss/patch-1
Upgrade GitHub Actions
2 parents 8c9f32b + f8ece2c commit 7a6ac19

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,21 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10-dev"]
14+
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11-dev"]
1515
os: [ubuntu-latest, macos-latest, windows-latest]
1616
exclude:
1717
# TODO Fix these versions on Windows
1818
- {os: windows-latest, python-version: "3.7"}
1919
- {os: windows-latest, python-version: "3.8"}
2020
- {os: windows-latest, python-version: "3.9"}
21-
- {os: windows-latest, python-version: "3.10-dev"}
21+
- {os: windows-latest, python-version: "3.10"}
22+
- {os: windows-latest, python-version: "3.11-dev"}
2223

2324
steps:
24-
- uses: actions/checkout@v2
25+
- uses: actions/checkout@v3
2526

2627
- name: Set up Python ${{ matrix.python-version }}
27-
uses: actions/setup-python@v2
28+
uses: actions/setup-python@v4
2829
with:
2930
python-version: ${{ matrix.python-version }}
3031

@@ -34,7 +35,7 @@ jobs:
3435
echo "::set-output name=dir::$(pip cache dir)"
3536
3637
- name: Cache
37-
uses: actions/cache@v2
38+
uses: actions/cache@v3
3839
with:
3940
path: ${{ steps.pip-cache.outputs.dir }}
4041
key:
@@ -44,9 +45,9 @@ jobs:
4445
4546
- name: Install dependencies
4647
run: |
47-
python -m pip install -U pip
48+
python -m pip install --upgrade pip
4849
python -m pip install -e .
49-
pip install -r tests/requirements.txt
50+
python -m pip install -r tests/requirements.txt
5051
5152
- name: Test
5253
run: |

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
envlist = py36, py37, py38, py39, py310
7+
envlist = py36, py37, py38, py39, py310, py311
88

99
[testenv]
1010
deps =

0 commit comments

Comments
 (0)