Mercurial > p > roundup > code
comparison .github/workflows/ci-test.yml @ 8150:911c6b0fbaf7
cleanup - 24.04 ubuntu github action migration
Reorder some stanzas to try to get 24.04 to run earlier.
Add comment when skipping gpg for 24.04.
Re-enable testing on ubuntu-latest (disable the exclude case).
[skip travis]
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 10 Nov 2024 13:53:01 -0500 |
| parents | ee258d848a59 |
| children | c43b2bd8e203 |
comparison
equal
deleted
inserted
replaced
| 8149:ee258d848a59 | 8150:911c6b0fbaf7 |
|---|---|
| 76 # releases to run | 76 # releases to run |
| 77 #- python-version: 3.13 | 77 #- python-version: 3.13 |
| 78 # os: ubuntu-22.04 | 78 # os: ubuntu-22.04 |
| 79 # experimental: true | 79 # experimental: true |
| 80 | 80 |
| 81 # test on new default 24.04 runner 3.12 for 24.04 | |
| 82 - python-version: 3.12 | |
| 83 os: ubuntu-24.04 | |
| 84 | |
| 81 # 3.6 not available on new 22.04 runners, so run on 20.04 ubuntu | 85 # 3.6 not available on new 22.04 runners, so run on 20.04 ubuntu |
| 82 - python-version: 3.6 | 86 - python-version: 3.6 |
| 83 os: ubuntu-20.04 | 87 os: ubuntu-20.04 |
| 84 | 88 |
| 85 # 3.8 not available on new 24.04 runners, so run on 22.04 ubuntu | 89 # 3.8 not available on new 24.04 runners, so run on 22.04 ubuntu |
| 86 - python-version: 3.8 | 90 - python-version: 3.8 |
| 87 os: ubuntu-22.04 | 91 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 | 92 |
| 93 exclude: | 93 exclude: |
| 94 # skip all python versions on 20.04/24.04 except | 94 # skip all python versions on 20.04/24.04 except |
| 95 # explicitly included | 95 # explicitly included |
| 96 - os: ubuntu-20.04 | 96 - os: ubuntu-20.04 |
| 97 # disable for testing when getting 24.04 running | |
| 98 - os: ubuntu-latest | |
| 99 - os: ubuntu-24.04 | 97 - os: ubuntu-24.04 |
| 98 | |
| 99 # disable when testing ubuntu-24.04 to speed up | |
| 100 # runs. | |
| 101 # - os: ubuntu-latest | |
| 100 | 102 |
| 101 # run the finalizer for coveralls even if one or more | 103 # run the finalizer for coveralls even if one or more |
| 102 # experimental matrix runs fail. | 104 # experimental matrix runs fail. |
| 103 # moving it above strategy produces unexpected value false | 105 # moving it above strategy produces unexpected value false |
| 104 # moving it below (here) produces unexpected value ''. | 106 # moving it below (here) produces unexpected value ''. |
| 230 # gpg doesn't build on Ubuntu 24.04. Ignore failure on that | 232 # gpg doesn't build on Ubuntu 24.04. Ignore failure on that |
| 231 # platform only. Grep os-release to cover matrix.os in | 233 # platform only. Grep os-release to cover matrix.os in |
| 232 # [ubunutu-latest, ubuntu-24.04]. | 234 # [ubunutu-latest, ubuntu-24.04]. |
| 233 pip install gpg || ( save_status=$?; \ | 235 pip install gpg || ( save_status=$?; \ |
| 234 if grep 24.04 /etc/os-release > /dev/null; then \ | 236 if grep 24.04 /etc/os-release > /dev/null; then \ |
| 235 exit 0; else exit $save_status; fi; ) | 237 echo "Ignoring error ubuntu-24.04: issue2551368"; exit 0; \ |
| 238 else exit $save_status; fi; ) | |
| 236 | 239 |
| 237 - name: Install aux packages that need versions differences | 240 - name: Install aux packages that need versions differences |
| 238 # if zstd fails install, keep going with test, don't abort | 241 # if zstd fails install, keep going with test, don't abort |
| 239 run: | | 242 run: | |
| 240 set -xv | 243 set -xv |
