Skip to content

Commit

Permalink
TST: Update testing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Vini2 committed Jul 24, 2023
1 parent d617c99 commit 9d3508b
Showing 1 changed file with 21 additions and 6 deletions.
27 changes: 21 additions & 6 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
os: [macos-12, ubuntu-latest]
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11"]

steps:
- uses: "actions/checkout@v3"
Expand All @@ -37,9 +37,24 @@ jobs:
pip install pytest pytest-cov
pytest --cov=./ --cov-report=xml --cov-append
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
- name: Coveralls Parallel
uses: coverallsapp/github-action@master
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage.xml
fail_ci_if_error: true
parallel: true
github-token: ${{ secrets.github_token }}
flag-name: run-${{ matrix.test_number }}
path-to-lcov: "coverage.lcov"

finish:
needs: tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true

0 comments on commit 9d3508b

Please sign in to comment.