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

Refactor into main workflow and reusable workflow for the tests #703

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

drnlm
Copy link
Member

@drnlm drnlm commented Mar 4, 2024

The duplicated matrix for sqlite and postgres is a pain to maintain, but github doesn't yaml anchors and aliases, which would be the usual way to solve this

Gitub does support reusable actions, though, which does allow us to unify the two matrixes at the cost of splitting the workflow into two files, which is not still not great, but is better.

The duplicated matrix for sqlite and postgres is a pain to maintain, but github
doesn't yaml anchors and aliases, which would be the usual way to solve
this

Gitub does support reusable actions, though, which does allow us to
unify the two matrixes at the cost of splitting the workflow into two
files, which is not still not great, but is better.
@drnlm
Copy link
Member Author

drnlm commented Mar 4, 2024

It's possible to remove he duplication of logic in run_tests.yml by adding another reusable file to handle the common bits (github allows up to 4 levels of this), but I'm not yet annoyed enough by it to go that far down this rabbit hole.

@drnlm drnlm merged commit fa59c0d into CTPUG:master Mar 4, 2024
42 of 43 checks passed
@drnlm drnlm deleted the feature/rework_ci_yaml branch March 6, 2024 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants