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

feat: 🎸 Only run ubuntu with Julia 1 on PRs #200

Merged
merged 3 commits into from
Jun 3, 2024

Conversation

abelsiqueira
Copy link
Collaborator

@abelsiqueira abelsiqueira commented May 31, 2024

Using the workflow matrix and conditions to include and exclude, we only
run the full matrix on pushes. For PRs, only 1 build is made, using
ubuntu and Julia 1.

Also adds a question TestPRsOnlyOneMachine to include the same in the template. Defaults to true.

Closes: #105

@abelsiqueira abelsiqueira marked this pull request as draft May 31, 2024 18:49
Using the workflow matrix and conditions to include and exclude, we only
run the full matrix on pushes. For PRs, only 1 build is made, using
ubuntu and Julia 1.

Also adds a question TestPRsOnlyOneMachine to include the same in the
template. Default to true.

✅ Closes: #105
@abelsiqueira abelsiqueira marked this pull request as ready for review May 31, 2024 19:22
@abelsiqueira
Copy link
Collaborator Author

@suvayu, this is your kind of PR. If you have the time, can you review this?

Copy link
Collaborator

@suvayu suvayu left a comment

Choose a reason for hiding this comment

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

Correct but I don't like it.

.github/workflows/Test.yml Outdated Show resolved Hide resolved
copier.yml Outdated Show resolved Hide resolved
template/.github/workflows/Test.yml.jinja Outdated Show resolved Hide resolved
Remove the other PR testing strategy and add reusable workflows to
implement simpler PR testing. Also renames the question key to better
address the objective. Adds informtaion on the Explanation section about
these changes.

✅ Closes: #105
@abelsiqueira abelsiqueira requested a review from suvayu June 2, 2024 15:44
Copy link
Collaborator

@suvayu suvayu left a comment

Choose a reason for hiding this comment

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

So much simpler! Nice :) I left some small comments, but otherwise looks good 👍

copier.yml Outdated Show resolved Hide resolved
.github/workflows/TestOnPRs.yml Show resolved Hide resolved
.github/workflows/Test.yml Show resolved Hide resolved
.github/workflows/ReusableTest.yml Show resolved Hide resolved
@abelsiqueira abelsiqueira merged commit b34c8eb into main Jun 3, 2024
4 checks passed
@abelsiqueira abelsiqueira deleted the 105-conditional-build branch June 3, 2024 05:25
@abelsiqueira
Copy link
Collaborator Author

@suvayu, thanks for the review. It looks pretty good right now.

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.

FInd nice solution for testing on a smaller matrix on PRs
2 participants