Commit d79b3cd
committed
[CI] Give push events a unique concurrency group
The concurrency group keys on github.event.pull_request.number, which is
set only for pull_request events. On a push to master that expression is
empty, so every master push collapses into one group and, with
cancel-in-progress, each new push cancels the previous run mid-flight.
The self-hosted coverage row (wake-on-lan, then a CUDA + Enzyme +
sanitizer build) is by far the slowest job, so on master it is almost
always cancelled before the codecov upload step runs. Master never gets a
base coverage report, and every PR's codecov/project status -- which uses
`target: auto` and needs the base coverage -- stalls at "Expected --
Waiting" indefinitely. codecov/patch is unaffected: it needs only the
PR's own report.
Fall back to github.sha when there is no PR number, so each pushed commit
gets its own group and push runs stop cancelling each other.1 parent 53ebd00 commit d79b3cd
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments