Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/qgallouedec/panda-gym
Browse files Browse the repository at this point in the history
  • Loading branch information
qgallouedec committed Jul 27, 2023
2 parents bfb33a8 + 479edfd commit 15bee47
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,26 @@ jobs:
- name: Test with pytest
run: |
pytest --cov=./ --cov-report=xml
- name: Save coverage report
uses: actions/upload-artifact@v2
with:
name: coverage-report
path: ./coverage.xml

upload-coverage:
needs: test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Download coverage reports
uses: actions/download-artifact@v2
with:
name: coverage-report
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
directory: ./coverage/reports/
env_vars: ${{ matrix.os }}, ${{ matrix.python-version }}
fail_ci_if_error: true
files: ./coverage.xml
name: codecov-umbrella
Expand Down

0 comments on commit 15bee47

Please sign in to comment.