Skip to content

Commit 0a585a2

Browse files
committed
Allow fallback to pre-release versions if GA version not released.
Use 3.12 prerelease in include section to test. If this works, move 3.12 spec out of include to regular matrix.
1 parent 2f7c8a3 commit 0a585a2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/ci-test.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,9 @@ jobs:
6565

6666
include:
6767
# example: if 3.12 fails the jobs still succeeds
68-
- python-version: 3.12-dev
68+
- python-version: 3.12
6969
os: ubuntu-22.04
7070
experimental: [true]
71-
#- python-version: 3.11-dev
72-
# os: ubuntu-20.04
7371
# 3.6 not available on new 22.04 runners, so run on 20.04 ubuntu
7472
- python-version: 3.6
7573
os: ubuntu-20.04
@@ -99,6 +97,7 @@ jobs:
9997
uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b # v4.6.0
10098
with:
10199
python-version: ${{ matrix.python-version }}
100+
allow-prereleases: true
102101
cache: 'pip'
103102

104103
# Display the Python version being used

0 commit comments

Comments
 (0)