Skip to content

Commit

Permalink
Add parallel build to coveralls
Browse files Browse the repository at this point in the history
It seems we need this when running a matrix of different python versions, as coveralls errors out when we send multiple reports for the same job.
  • Loading branch information
mgdaily committed Nov 9, 2023
1 parent 53518f0 commit 8bb10f8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ jobs:
DB_PORT: 5432
- name: Generate and send coveralls report
uses: coverallsapp/github-action@v2
with:
parallel: true
flag-name: run-${{ matrix.python-version }}


publish_to_pypi:
# Only run this job if the run_tests job has succeeded, and if
Expand Down Expand Up @@ -103,3 +107,11 @@ jobs:
pull: true
push: true
tags: ${{ env.DOCKER_REPOSITORY }}:${{ env.DOCKER_IMAGE_TAG }}

finish:
runs-on: ubuntu-latest
steps:
- name: Close parallel build
uses: coverallsapp/github-action@v1
with:
parallel-finished: true

0 comments on commit 8bb10f8

Please sign in to comment.