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 27, 2023
1 parent 194b203 commit b692b77
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
18 changes: 16 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.11", "3.10", "3.9"]
django: [42, 32]
cms: [nocms, cms311, async]
continue-on-error: [false]
Expand Down Expand Up @@ -46,10 +46,24 @@ 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
flag-name: run-${{ format('py{0}-django{1}-{2}', matrix.python-version, matrix.django, matrix.cms) }}
- 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 b692b77

Please sign in to comment.