Skip to content

Commit

Permalink
Switch to Coveralls Github action
Browse files Browse the repository at this point in the history
  • Loading branch information
protoroto committed Nov 10, 2023
1 parent 194b203 commit e332bd9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
continue-on-error: ${{ matrix.continue-on-error }}
strategy:
matrix:
python-version: [3.11, 3.10.x, 3.9]
python-version: [3.10.x, 3.9]
django: [42, 32]
cms: [nocms, cms311, async]
continue-on-error: [false]
Expand Down Expand Up @@ -46,10 +46,26 @@ jobs:
run: |
tox -e$TOX_ENV
.tox/$TOX_ENV/bin/coverage xml
.tox/$TOX_ENV/bin/coveralls
- name: Coveralls Parallel
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel: true
file: coverage.xml
flag-name: ${{ join(matrix.*, '-') }}
debug: true
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unittests
files: ./coverage.xml
fail_ci_if_error: false
finish:
needs: test
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@v2
with:
parallel-finished: true
1 change: 1 addition & 0 deletions changes/248.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Switch to Coveralls Github action

0 comments on commit e332bd9

Please sign in to comment.