You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/coverage.yml
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,9 @@ name: Test coverage
3
3
4
4
on:
5
5
push:
6
-
branches: [main]
6
+
branches:
7
+
- main
8
+
- 'release-*'
7
9
8
10
jobs:
9
11
test:
@@ -45,6 +47,7 @@ jobs:
45
47
sed "s/{shortcommit}/${GITHUB_SHA:0:8}/g;s/{commit}/${GITHUB_SHA}/g;s#{repo}#${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}#g" .github/workflows/coverage/index.html.template > build/gh-pages/index.html
46
48
47
49
- name: Create coverage badge
50
+
if: ${{ github.ref == 'refs/heads/main' }}
48
51
# This creates a file that defines a [Shields.io endpoint badge](https://shields.io/endpoint)
49
52
# which we can then include in the project README.
0 commit comments