Skip to content

Commit 94838ba

Browse files
authored
ci: Test on Python 3.10 [#468, #470]
1 parent b01db03 commit 94838ba

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/checks.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,15 @@ on:
44
push:
55
branches: ["main"]
66
pull_request:
7-
# The branches below must be a subset of the branches above
87
branches: ["main"]
98

109
jobs:
1110
test:
1211
strategy:
1312
matrix:
14-
python: [ 3.7, 3.8, 3.9 ]
13+
python: [ "3.7", "3.8", "3.9", "3.10" ]
1514
os: [ ubuntu-latest, macos-latest, windows-latest ]
1615
runs-on: ${{ matrix.os }}
17-
1816
steps:
1917
- uses: actions/checkout@v2
2018
- name: Set up Python
@@ -27,11 +25,11 @@ jobs:
2725
path: .venv
2826
key: ${{ runner.os }}-${{ matrix.python }}-dependencies-${{ hashFiles('**/poetry.lock') }}
2927
restore-keys: |
30-
${{ runner.os }}-${{ matrix.python }}-dependencies-v2
28+
${{ runner.os }}-${{ matrix.python }}-dependencies
3129
- name: Install dependencies
3230
run: |
3331
pip install poetry
34-
poetry config virtualenvs.in-project true
32+
python -m venv .venv
3533
poetry run python -m pip install --upgrade pip
3634
poetry install
3735

0 commit comments

Comments
 (0)