Skip to content

Commit

Permalink
Setup coverage upload to codecov (#780)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianJKoopman authored Oct 22, 2024
1 parent 641fa3e commit c65f092
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
jobs:
test:
uses: ./.github/workflows/pytest.yml
secrets: inherit

docker:
name: build and deploy docker images
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ on:
jobs:
test:
uses: ./.github/workflows/pytest.yml
secrets: inherit

build:
name: build and deploy test images
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,11 @@ jobs:
mv ./tests/.coverage.* ./
pip install -U coveralls
coverage combine
coverage xml
coverage report
coveralls --service=github
- name: Upload results to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit c65f092

Please sign in to comment.