Skip to content

Commit

Permalink
cleanup - 24.04 ubuntu github action migration
Browse files Browse the repository at this point in the history
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]
  • Loading branch information
rouilj committed Nov 10, 2024
1 parent 46f0e73 commit 31e88cc
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ jobs:
# os: ubuntu-22.04
# experimental: true

# test on new default 24.04 runner 3.12 for 24.04
- python-version: 3.12
os: ubuntu-24.04

# 3.6 not available on new 22.04 runners, so run on 20.04 ubuntu
- python-version: 3.6
os: ubuntu-20.04
Expand All @@ -86,18 +90,16 @@ jobs:
- python-version: 3.8
os: ubuntu-22.04

# test on new default 24.04 runner 3.12 for 24.04
- python-version: 3.12
os: ubuntu-24.04

exclude:
# skip all python versions on 20.04/24.04 except
# explicitly included
- os: ubuntu-20.04
# disable for testing when getting 24.04 running
- os: ubuntu-latest
- os: ubuntu-24.04

# disable when testing ubuntu-24.04 to speed up
# runs.
# - os: ubuntu-latest

# run the finalizer for coveralls even if one or more
# experimental matrix runs fail.
# moving it above strategy produces unexpected value false
Expand Down Expand Up @@ -232,7 +234,8 @@ jobs:
# [ubunutu-latest, ubuntu-24.04].
pip install gpg || ( save_status=$?; \
if grep 24.04 /etc/os-release > /dev/null; then \
exit 0; else exit $save_status; fi; )
echo "Ignoring error ubuntu-24.04: issue2551368"; exit 0; \
else exit $save_status; fi; )
- name: Install aux packages that need versions differences
# if zstd fails install, keep going with test, don't abort
Expand Down

0 comments on commit 31e88cc

Please sign in to comment.