Skip to content

Commit

Permalink
Generate coverage reports as part of tests and run tests on all branches
Browse files Browse the repository at this point in the history
  • Loading branch information
timsavage committed Sep 8, 2023
1 parent 66e0962 commit af7b2d3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Run Tests

on:
push:
branches: [ develop, feature/*, bugfix/*, release/* ]

jobs:
test:
Expand Down Expand Up @@ -34,4 +33,6 @@ jobs:
- name: Test with Django test runner
run: |
poetry run ./runtests.py
poetry run coverage run --branch -- ./runtests.py
poetry run coverage xml --include="oscar_odin/*" -o dist/coverage.xml
poetry run coverage report --include="oscar_odin/*"

0 comments on commit af7b2d3

Please sign in to comment.