Skip to content

Commit 4f2910c

Browse files
authored
Merge pull request #96 from actix/JohnTitor-patch-1
Disable coverage for PRs
2 parents 6908b58 + 9f7d6bc commit 4f2910c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@ jobs:
5959
args: --all --all-features --no-fail-fast -- --nocapture
6060

6161
- name: Generate coverage file
62-
if: matrix.version == 'stable' && (github.ref == 'master' || github.event_name == 'pull_request')
62+
if: matrix.version == 'stable' && github.ref == 'refs/heads/master'
6363
run: |
6464
cargo install cargo-tarpaulin
6565
cargo tarpaulin --out Xml --workspace --all-features
6666
6767
- name: Upload to Codecov
68-
if: matrix.version == 'stable' && (github.ref == 'master' || github.event_name == 'pull_request')
68+
if: matrix.version == 'stable' && github.ref == 'refs/heads/master'
6969
uses: codecov/codecov-action@v1
7070
with:
7171
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)