fix(actions): run coverage collection when pushing to main (#3561)

* Run Coverage collection on main

Resolves #3533

* fix(coverage): just run coverage on specific file changes to main

Co-authored-by: Gustavo Valverde <gustavo@iterativo.do>
This commit is contained in:
Deirdre Connolly 2022-02-22 04:48:00 -05:00 committed by GitHub
parent eaf0b6add4
commit 35f9b17710
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View File

@ -20,4 +20,4 @@ jobs:
runs-on: ubuntu-latest
steps:
- run: 'echo "No build required"'
- run: 'echo "No build required"'

View File

@ -2,6 +2,16 @@ name: Coverage
on:
workflow_dispatch:
push:
branches:
- main
paths:
- '**/*.rs'
- '**/*.txt'
- '**/Cargo.toml'
- '**/Cargo.lock'
- 'codecov.yml'
- '.github/workflows/coverage.yml'
pull_request:
paths:
- '**/*.rs'