Skip to content

Commit 5b75203

Browse files
authored
fix: workflow syntax (#241)
1 parent 611243e commit 5b75203

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
@@ -27,7 +27,10 @@ jobs:
2727
fail-fast: false
2828
matrix:
2929
os: [Ubuntu, MacOS, Windows]
30-
python-version: [3.6, 3.7, 3.8, 3.9, "3.10", "3.11.0-rc - 3.11"]
30+
python-version: [3.6, 3.7, 3.8, 3.9, "3.10", "3.11.0-rc - 3.11.0"]
31+
exclude:
32+
- python-version: "3.11.0-rc - 3.11.0"
33+
os: MacOS
3134

3235
steps:
3336
- uses: actions/checkout@v3
@@ -47,10 +50,12 @@ jobs:
4750
4851
- name: Install Poetry
4952
shell: bash
50-
if: !startsWith(matrix.python-version, '3.11')
53+
if: ${{ !startsWith(matrix.python-version, '3.11') }}
5154
run: |
5255
curl -fsSL https://install.python-poetry.org | python - -y --version 1.1.15
53-
- if: startsWith(matrix.python-version, '3.11')
56+
- name: Install Poetry 1.2
57+
shell: bash
58+
if: startsWith(matrix.python-version, '3.11')
5459
run: curl -fsSL https://install.python-poetry.org | python - -y --version 1.2.1
5560
- name: Update PATH
5661
if: ${{ matrix.os != 'Windows' }}
@@ -85,3 +90,4 @@ jobs:
8590
shell: bash
8691
run: |
8792
poetry run pytest -q tests
93+
continue-on-error: ${{ startsWith(matrix.python-version, '3.11') }}

0 commit comments

Comments
 (0)