We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a480170 + 9ed4ae8 commit 40c7a43Copy full SHA for 40c7a43
.github/workflows/test.yml
@@ -14,11 +14,13 @@ on:
14
# Allow manually triggering the workflow.
15
workflow_dispatch:
16
17
-# Cancels all previous workflow runs for the same branch that have not yet completed.
+# Cancels all previous workflow runs for the same branch that have not yet completed,
18
+# but don't cancel when it's one of the "main" branches as that prevents
19
+# accurate monitoring of code coverage.
20
concurrency:
21
# The concurrency group contains the workflow name and the branch name.
22
group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
23
+ cancel-in-progress: ${{ github.ref_name != 'master' && github.ref_name != '4.0' }}
24
25
jobs:
26
build:
0 commit comments