Skip to content

Commit e5d5a4d

Browse files
committedSep 12, 2021
chore(ci): run tests against Python 3.9 and 3.10.0-rc.2
1 parent 44a0393 commit e5d5a4d

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed
 

‎.github/workflows/integration.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python-version: [3.8]
10+
python-version: ["3.8"]
1111

1212
steps:
1313
- uses: actions/checkout@v2

‎.github/workflows/lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python-version: [3.8]
10+
python-version: ["3.8"]
1111

1212
steps:
1313
- uses: actions/checkout@v2

‎.github/workflows/test.yml

+10-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
python-version: [3.6, 3.7, 3.8]
11+
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10.0-rc.2"]
1212
os: [ubuntu-latest, ubuntu-18.04, macos-latest, windows-latest]
1313

1414
steps:
@@ -48,11 +48,18 @@ jobs:
4848
with:
4949
python-version: ${{ matrix.python-version }}
5050

51-
- name: Install dependencies
51+
- name: Install poetry
5252
run: |
5353
python -m pip install --upgrade pip
5454
python -m pip install --upgrade poetry
55-
poetry install
55+
56+
# New poetry installer doesn't work well with Python 3.10 (see https://github.com/python-poetry/poetry/issues/4210).
57+
- name: Use legacy poetry installer
58+
if: startsWith(matrix.python-version, '3.10')
59+
run: poetry config experimental.new-installer false
60+
61+
- name: Install dependencies
62+
run: poetry install
5663

5764
- name: Test
5865
shell: bash

0 commit comments

Comments
 (0)
Please sign in to comment.