Skip to content

Commit

Permalink
Add Coveralls integration
Browse files Browse the repository at this point in the history
  • Loading branch information
blag committed May 21, 2024
1 parent 395d0b2 commit 29b598b
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
on:
push:
pull_request:
on: ["push", "pull_request"]

jobs:
build:

test:
runs-on: ubuntu-latest

strategy:
Expand Down Expand Up @@ -44,3 +41,19 @@ jobs:
- name: Run tests
working-directory: example
run: python -m coverage run manage.py test

- name: Coveralls
uses: coverallsapp/github-action@v2
with:
flag-name: run-${{ join(matrix.*, '-') }}
parallel: true

finish:
needs: test
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@v2
with:
parallel-finished: true

0 comments on commit 29b598b

Please sign in to comment.