Skip to content

Commit

Permalink
ci: Skip coverage tests on dependencies-only changes (#1074)
Browse files Browse the repository at this point in the history
There's no value in running coverage tests against dependabot changes.
  • Loading branch information
olix0r authored Jun 16, 2021
1 parent bc3a4cf commit e0e2b34
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,16 @@ on:

jobs:
test:
if: |
!contains(github.event.pull_request.labels.*.name, 'dependencies')
name: codecov
runs-on: ubuntu-latest
timeout-minutes: 30
container:
image: docker://rust:1.52.1-buster
options: --security-opt seccomp=unconfined
steps:
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
- run: cargo install cargo-tarpaulin
- run: cargo tarpaulin --verbose --workspace --out Xml
- uses: codecov/codecov-action@29386c70ef20e286228c72b668a06fd0e8399192 # v1.5.2
- uses: codecov/codecov-action@29386c70ef20e286228c72b668a06fd0e8399192

0 comments on commit e0e2b34

Please sign in to comment.