Limit ci runtime / cancel redundant jobs#904
Conversation
f11825b to
e7abd55
Compare
|
Based on comments by @bryanwweber in #894, it appears that there are some restrictions connected to user privileges that may prevent this PR from working as intended (it is pushed from a fork by a contributor without access privileges to the main repo). I.e. while there is no guarantee for this to work, further investigations may have to be run from a branch on the main repository. I.e. I am reopening this PR for a developer/maintainer to follow up on. |
4a218c1 to
573b3b6
Compare
- Coverage run limited to 360 minutes - All other runs limited to 60 minutes - Cancel redundant jobs - Add `repository_dispatch` field
b7b2b19 to
68019ab
Compare
|
@bryanwweber ... I rebased and cleaned this up now that 2.5.0b1 is out: I also found a comment that this may only work on the default branch (see linked pages in PR description). I confirmed that this still doesn't work despite sticking to the example. Looking at the actions output, I get: Edit: one job apparently tried to cancel, but errored .... This may be linked to the following note on
Per previous discussion, I believe it may be good from a sustainability viewpoint to cancel redundant jobs - lots of CPU time wasted. |
|
Could not get this to run on one of my own repos either. Closing |
Changes proposed in this pull request
Same as #894 (after force-pushing while PR was closed I can no longer reopen)
If applicable, fill in the issue number this pull request is fixing
Fixes #893
Checklist
scons build&scons test) and unit tests address code coverageThoughts
Per @bryanwweber's comment