Skip to content

Commit 611243e

Browse files
authored
Add Python 3.11 release candidate 2 to the testing (#239)
* Add Python 3.11 release candidate 2 to the testing Python 3.11 will be on average 22% faster than Python 3.10 so let’s give it a spin... https://www.python.org/download/pre-releases * python-version: [3.6, 3.7, 3.8, 3.9, "3.10", "3.11.0-rc - 3.11"] * Upgrade to Poetry v1.2.1 * strategy: fail-fast: false * if: startsWith(matrix.python-version, '3.11') * if: ! startsWith(matrix.python-version, '3.11') * if: !startsWith(matrix.python-version, '3.11') # no space
1 parent 5bc89ed commit 611243e

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/tests.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,20 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v2
18-
- uses: actions/setup-python@v2
17+
- uses: actions/checkout@v3
18+
- uses: actions/setup-python@v4
19+
with:
20+
python-version: 3.x
1921
- uses: pre-commit/action@v2.0.3
2022
Tests:
2123
needs: Linting
2224
name: ${{ matrix.os }} / ${{ matrix.python-version }}
2325
runs-on: ${{ matrix.os }}-latest
2426
strategy:
27+
fail-fast: false
2528
matrix:
2629
os: [Ubuntu, MacOS, Windows]
27-
python-version: [3.6, 3.7, 3.8, 3.9, "3.10"]
30+
python-version: [3.6, 3.7, 3.8, 3.9, "3.10", "3.11.0-rc - 3.11"]
2831

2932
steps:
3033
- uses: actions/checkout@v3
@@ -44,8 +47,11 @@ jobs:
4447
4548
- name: Install Poetry
4649
shell: bash
50+
if: !startsWith(matrix.python-version, '3.11')
4751
run: |
4852
curl -fsSL https://install.python-poetry.org | python - -y --version 1.1.15
53+
- if: startsWith(matrix.python-version, '3.11')
54+
run: curl -fsSL https://install.python-poetry.org | python - -y --version 1.2.1
4955
- name: Update PATH
5056
if: ${{ matrix.os != 'Windows' }}
5157
run: echo "$HOME/.local/bin" >> $GITHUB_PATH

0 commit comments

Comments
 (0)