Repository navigation
Fix | CI on Ubuntu 26.04: pin the Python 3.9 jobs, fix a bats typo - #340
Merged
Merged
Conversation
ubuntu-latest now points to Ubuntu 26.04, where setup-python has no Python
3.9. Run the jobs that test 3.9 (unit_tests and the ref-arch test) on
ubuntu-24.04 until 3.9 support is dropped.
The bats teardown ran `cd "$TESTS_ROOT"`, but setup set TEST_ROOT, so it ran
`cd ""`. The bash on Ubuntu 26.04 rejects it ("null directory").
Closes #339
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 37 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
binbashdevops
approved these changes
Nov 14, 2026
Coverage Report for CI Build 43601603828Coverage remained the same at 67.689%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
This was referenced Nov 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Makes CI pass again on Ubuntu 26.04, which
ubuntu-latestpoints to since 2026-11-14. Closes #339.Changes
tests-unit.ymland the ref-arch job intests-integration.yaml:runs-on: ubuntu-24.04.setup-pythonhas no Python 3.9 for Ubuntu 26.04. A comment says to move back toubuntu-latestonce 3.9 support is dropped.tests/bats/leverage_terraform.bats:setupsetTEST_ROOT, butteardownrancd "$TESTS_ROOT", i.e.cd "". Older bash ignored it; the bash on 26.04 fails withcd: null directory.The other jobs (bats, lint, release) use Python 3.13 and stay on
ubuntu-latest.Testing
This PR's own checks: every
unit_testsversion,integration_tests(bats on 26.04) and the ref-arch job on 3.9.Follow-up
Dropping Python 3.9 (end of life since 2025-10) is a product decision, left for a separate issue.
🤖 Generated with Claude Code