Skip to content

Commit cf809ee

Browse files
committed
Only run coverage on PRs and pushes to main
1 parent cfebb2d commit cf809ee

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/coverage.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
1-
name: Coverage
1+
name: CI
22

33
on:
44
pull_request:
55
paths:
6-
- '**.rs'
6+
- '**.rs'
77
push:
8+
branches:
9+
- main
810
paths:
9-
- '**.rs'
11+
- '**.rs'
1012

1113
jobs:
1214

13-
codecov:
15+
coverage:
1416
runs-on: ubuntu-latest
1517
steps:
1618
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)