Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the dev/ci.sh script, make it usable interactive, and some related CI tweaks #5567

Merged
merged 16 commits into from
Jan 10, 2024

Conversation

fingolfin
Copy link
Member

@fingolfin fingolfin commented Jan 9, 2024

In particular dev/ci.sh is now very convenient to use interactively so one can easily replicate what certain CI tests do.

Also fix a bunch of minor issues with CI and the tests here and there.

It may be best to review this commit-by-commit.

Resolves #1740
Resolves #4167

@fingolfin fingolfin added topic: tests issues or PRs related to tests release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes topic: ci Anything related to GitHub Actions, Codecov, AppVeyor, Coveralls, Travis, ... labels Jan 9, 2024
@fingolfin fingolfin force-pushed the mh/ci-test-cleanup branch 2 times, most recently from 50b2730 to 53b9832 Compare January 9, 2024 23:51
Copy link
Contributor

@ChrisJefferson ChrisJefferson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Read through every commit and this all seems good

@fingolfin
Copy link
Member Author

OK, then I assume #5570 is also good -- let's merge that first (if you approve?), then rebase this PR -- then this PR here is 95% about making dev/ci.sh useful for interactive use and we can "squash merge" it

... as part of the makemanuals test suite
... not via TEST_SUITES env var; that makes it more convenient to use
this script interactively
The gap_cover_arg helper ensures uniform naming of the coverage files,
always involving the name of the test suite, to reduce the chance of
one overwriting outputs of the others. The testexpect testsuite actually
did that, which is now also fixed.
... instead of expecting to be told the prefix via some environment
variable.
For debugging it can be helpful to see the compilation commands in CI tests
@fingolfin fingolfin changed the title Cleanup a bunch of things in tst, and improve the dev/ci.sh script Improve the dev/ci.sh script, make it usable interactive, and some related CI tweaks Jan 10, 2024
@fingolfin fingolfin enabled auto-merge (squash) January 10, 2024 09:15
@fingolfin fingolfin merged commit 6dc477d into gap-system:master Jan 10, 2024
22 checks passed
@fingolfin fingolfin deleted the mh/ci-test-cleanup branch January 10, 2024 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes topic: ci Anything related to GitHub Actions, Codecov, AppVeyor, Coveralls, Travis, ... topic: tests issues or PRs related to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

refactor our dev/ci*.sh scripts and tests overall Target citests in Makefile?
2 participants