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

stopped double-running of each workflow in CI #726

Closed
wants to merge 1 commit into from

Conversation

edwardhartnett
Copy link
Collaborator

Part of #719

This PR causes all CI workflows to only run once every CI, instead of twice.

@edwardhartnett
Copy link
Collaborator Author

edwardhartnett commented Dec 11, 2022

Does the code coverage CI build always fail? What a bummer.

We'll get that fixed shortly. Meanwhile, here's a PR which will cut the number of CI runs in half for each PR and each checkin to a branch up for PR.

After studying the documentation carefully, and re-reading it several times, I was more confused than when I started, but I had worked out this magic formula which causes each CI run to just execute once instead of twice. (What I can't understand is why anyone would want it run twice in the first place?)

Anyway, cutting the number of runs makes each cycle faster, since GitHub throttles the runs from each project.

@edwardhartnett edwardhartnett marked this pull request as ready for review December 11, 2022 16:28
@edwardhartnett edwardhartnett deleted the ejh_ci_once branch December 12, 2022 20:50
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.

1 participant