Skip to content

Commit

Permalink
chore: Fixed coverage upload of common (#506)
Browse files Browse the repository at this point in the history
* chore: Fixed coverage of common

* chore: Prevents coverage upload from failing silently
  • Loading branch information
fg-mindee authored Sep 29, 2021
1 parent 7ce7798 commit 14b376e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,12 @@ jobs:
- name: Run unittests
run: |
coverage run -m pytest test/common/
coverage xml
coverage xml -o coverage-common.xml
- uses: actions/upload-artifact@v2
with:
name: coverage-common
path: ./coverage-common.xml
if-no-files-found: error

pytest-tf:
needs: install-tf
Expand Down Expand Up @@ -138,6 +139,7 @@ jobs:
with:
name: coverage-tf
path: ./coverage-tf.xml
if-no-files-found: error

pytest-torch:
needs: install-pytorch
Expand Down Expand Up @@ -178,6 +180,7 @@ jobs:
with:
name: coverage-pytorch
path: ./coverage-pt.xml
if-no-files-found: error

codecov-upload:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 14b376e

Please sign in to comment.