diff .github/workflows/ci-test.yml @ 7272:2e48fb118772

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.
author John Rouillard <rouilj@ieee.org>
date Mon, 24 Apr 2023 08:11:44 -0400
parents 5486c565ecf6
children 5ecaebc08447
line wrap: on
line diff
--- a/.github/workflows/ci-test.yml	Mon Apr 24 07:54:58 2023 -0400
+++ b/.github/workflows/ci-test.yml	Mon Apr 24 08:11:44 2023 -0400
@@ -65,11 +65,9 @@
 
         include:
             # example: if 3.12 fails the jobs still succeeds
-            - python-version: 3.12-dev
+            - python-version: 3.12
               os: ubuntu-22.04
               experimental: [true]
-            #- python-version: 3.11-dev
-            #  os: ubuntu-20.04
             # 3.6 not available on new 22.04 runners, so run on 20.04 ubuntu
             - python-version: 3.6
               os: ubuntu-20.04
@@ -99,6 +97,7 @@
         uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b # v4.6.0
         with:
           python-version: ${{ matrix.python-version }}
+          allow-prereleases: true
           cache: 'pip'
 
       # Display the Python version being used

Roundup Issue Tracker: http://roundup-tracker.org/