ci: validate .env.example by copying it before test runs#617
Merged
Chemaclass merged 12 commits intomainfrom Mar 30, 2026
Merged
ci: validate .env.example by copying it before test runs#617Chemaclass merged 12 commits intomainfrom
Chemaclass merged 12 commits intomainfrom
Conversation
Contributor
✅ Contributor ReportUser: @antonio-gg-dev
Contributor Report evaluates based on public GitHub activity. Analysis period: 2025-03-30 to 2026-03-30 |
The .env file sourcing overwrites BASHUNIT_BOOTSTRAP_ARGS and BASHUNIT_NO_COLOR set by the test environment or early flag scan.
The test compared local time with UTC time, which only passes when the system timezone is UTC. Fails in CET, JST, BRT locale CI jobs.
25d3152 to
dc0d7e1
Compare
dc0d7e1 to
627e6b4
Compare
Chemaclass
approved these changes
Mar 30, 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.
Related #
make testloads.envvia the Makefile, but CI test workflows were not creating that file from.env.example. That meant a syntax error in.env.examplecould go unnoticed in GitHub Actions while still breaking local test runs for contributors following the setup documented inCONTRIBUTING.md.Changes
BASHUNIT_COVERAGE_THRESHOLD_HIGHentry in.env.exampleby separating the assignment from the inline comment so Bash can parse it correctly..env.exampleto.envbefore running the suite, so CI now exercises the same configuration path used locally..env.exampledrifts into an invalid Bash file without being caught by automated checks.Checklist
CHANGELOG.mdto reflect the new feature or fix