-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IMPROVEMENT: Also run coverage reports on the master branch
- Loading branch information
1 parent
f177339
commit 333fc6c
Showing
1 changed file
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
name: Coverage | ||
# Make sure pull requests increase coverage monotonically | ||
|
||
on: [pull_request] | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build: | ||
|
@@ -32,9 +36,6 @@ jobs: | |
coverage run -m pytest | ||
coverage xml -o unittests/coverage.xml | ||
- name: List unittests directory contents | ||
run: ls -la unittests/ | ||
|
||
- name: Get Cover | ||
uses: andraghetti/[email protected] | ||
with: | ||
|