Skip to content

Commit

Permalink
IMPROVEMENT: Also run coverage reports on the master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
amilcarlucas committed Apr 26, 2024
1 parent f177339 commit 333fc6c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/coverage.yml
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:
Expand Down Expand Up @@ -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/coverage@v3.2
with:
Expand Down

0 comments on commit 333fc6c

Please sign in to comment.