Mercurial > p > roundup > code
comparison .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 |
comparison
equal
deleted
inserted
replaced
| 7271:5486c565ecf6 | 7272:2e48fb118772 |
|---|---|
| 63 # if the ones above fail. fail the build | 63 # if the ones above fail. fail the build |
| 64 experimental: [false] | 64 experimental: [false] |
| 65 | 65 |
| 66 include: | 66 include: |
| 67 # example: if 3.12 fails the jobs still succeeds | 67 # example: if 3.12 fails the jobs still succeeds |
| 68 - python-version: 3.12-dev | 68 - python-version: 3.12 |
| 69 os: ubuntu-22.04 | 69 os: ubuntu-22.04 |
| 70 experimental: [true] | 70 experimental: [true] |
| 71 #- python-version: 3.11-dev | |
| 72 # os: ubuntu-20.04 | |
| 73 # 3.6 not available on new 22.04 runners, so run on 20.04 ubuntu | 71 # 3.6 not available on new 22.04 runners, so run on 20.04 ubuntu |
| 74 - python-version: 3.6 | 72 - python-version: 3.6 |
| 75 os: ubuntu-20.04 | 73 os: ubuntu-20.04 |
| 76 | 74 |
| 77 exclude: | 75 exclude: |
| 97 # Setup version of Python to use | 95 # Setup version of Python to use |
| 98 - name: Set Up Python ${{ matrix.python-version }} | 96 - name: Set Up Python ${{ matrix.python-version }} |
| 99 uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b # v4.6.0 | 97 uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b # v4.6.0 |
| 100 with: | 98 with: |
| 101 python-version: ${{ matrix.python-version }} | 99 python-version: ${{ matrix.python-version }} |
| 100 allow-prereleases: true | |
| 102 cache: 'pip' | 101 cache: 'pip' |
| 103 | 102 |
| 104 # Display the Python version being used | 103 # Display the Python version being used |
| 105 - name: Display Python and key module versions | 104 - name: Display Python and key module versions |
| 106 run: | | 105 run: | |
