Mercurial > p > roundup > code
comparison .github/workflows/ci-test.yml @ 8140:0bd23d5a8122
test changes for 24.04 ubuntu github action migration
Explicitly test python 3.8 on ubunutu-22.04.
Explicitly test python 3.12 on ubuntu-24.04.
disable all other testing on 24.04 for now. In future commit, remove
explicit matrix.os list entry ubuntu-24.04 in favor of ubuntu-latest
and add 22.04 to exclude.os
[skip travis]
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 10 Nov 2024 10:52:02 -0500 |
| parents | c88ad93f0e77 |
| children | 715ab3719662 |
comparison
equal
deleted
inserted
replaced
| 8138:0692740e9b56 | 8140:0bd23d5a8122 |
|---|---|
| 53 python-version: | 53 python-version: |
| 54 # - "2.7" | 54 # - "2.7" |
| 55 - "3.13" | 55 - "3.13" |
| 56 # - 3.6 run via include on ubuntu 20.04 | 56 # - 3.6 run via include on ubuntu 20.04 |
| 57 # - "3.7" | 57 # - "3.7" |
| 58 - "3.8" | 58 # - "3.8" run via include for ubuntu-22.04 |
| 59 # - "3.9" | 59 # - "3.9" |
| 60 - "3.10" | 60 - "3.10" |
| 61 - "3.11" | 61 - "3.11" |
| 62 - "3.12" | 62 - "3.12" |
| 63 | 63 |
| 64 # use for multiple os or ubuntu versions | 64 # use for multiple os or ubuntu versions |
| 65 #os: [ubuntu-latest, macos-latest, windows-latest] | 65 #os: [ubuntu-latest, macos-latest, windows-latest] |
| 66 # ubuntu latest 22.04 12/2022 | 66 # ubuntu latest 22.04 12/2022 |
| 67 os: [ubuntu-latest, ubuntu-20.04] | 67 # ubuntu latest 24.04 12/2024 |
| 68 os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04, ubuntu-24.04] | |
| 68 | 69 |
| 69 # if the ones above fail. fail the build | 70 # if the ones above fail. fail the build |
| 70 experimental: [ false ] | 71 experimental: [ false ] |
| 71 | 72 |
| 72 include: | 73 include: |
| 79 | 80 |
| 80 # 3.6 not available on new 22.04 runners, so run on 20.04 ubuntu | 81 # 3.6 not available on new 22.04 runners, so run on 20.04 ubuntu |
| 81 - python-version: 3.6 | 82 - python-version: 3.6 |
| 82 os: ubuntu-20.04 | 83 os: ubuntu-20.04 |
| 83 | 84 |
| 85 # 3.8 not available on new 24.04 runners, so run on 22.04 ubuntu | |
| 86 - python-version: 3.8 | |
| 87 os: ubuntu-22.04 | |
| 88 | |
| 89 # test on new default 24.04 runner 3.12 for 24.04 | |
| 90 - python-version: 3.12 | |
| 91 os: ubuntu-24.04 | |
| 92 | |
| 84 exclude: | 93 exclude: |
| 85 # skip all python versions on 20.04 except explicitly included | 94 # skip all python versions on 20.04/24.04 except |
| 86 - os: ubuntu-20.04 | 95 # explicitly included |
| 96 - os: [ubuntu-20.04, ubuntu-24.04] | |
| 87 | 97 |
| 88 # run the finalizer for coveralls even if one or more | 98 # run the finalizer for coveralls even if one or more |
| 89 # experimental matrix runs fail. | 99 # experimental matrix runs fail. |
| 90 # moving it above strategy produces unexpected value false | 100 # moving it above strategy produces unexpected value false |
| 91 # moving it below (here) produces unexpected value ''. | 101 # moving it below (here) produces unexpected value ''. |
