Skip to content

Commit

Permalink
Setup Coveralls with GitHub Actions (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakirkham committed Oct 20, 2022
1 parent aeda9ed commit 9e3bfea
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,22 @@ jobs:
- name: Run tests
shell: bash -l {0}
run: pytest -v
run: pytest -v --cov=dask_image --cov-report lcov

- name: Coveralls Parallel
uses: coverallsapp/github-action@1.1.3
with:
github-token: ${{ secrets.github_token }}
flag-name: run-${{ matrix.test_number }}
parallel: true
path-to-lcov: coverage.lcov

finish:
needs: test
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@1.1.3
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true
1 change: 1 addition & 0 deletions continuous_integration/environment-3.7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ dependencies:
- coverage==6.3.1
- flake8==4.0.1
- pytest==7.0.0
- pytest-cov==4.0.0
- pytest-flake8==1.0.7
- dask==2.8.1
- numpy==1.21.5
Expand Down
1 change: 1 addition & 0 deletions continuous_integration/environment-3.8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ dependencies:
- coverage==6.3.1
- flake8==4.0.1
- pytest==7.0.0
- pytest-cov==4.0.0
- pytest-flake8==1.0.7
- dask==2.8.1
- numpy==1.22.2
Expand Down
1 change: 1 addition & 0 deletions continuous_integration/environment-3.9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ dependencies:
- coverage==6.3
- flake8==4.0.1
- pytest==6.2.5
- pytest-cov==4.0.0
- pytest-flake8==1.0.7
- dask==2022.1.1
- numpy==1.22.1
Expand Down

0 comments on commit 9e3bfea

Please sign in to comment.