Skip to content

Commit

Permalink
Upload test report to codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
timj committed Nov 21, 2024
1 parent 32a7b4a commit e3241af
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ jobs:
- name: Run tests
shell: bash -l {0}
run: |
pytest -r a -v -n 3 --cov=lsst.pipe.base --cov=tests --cov-report=xml --cov-report=term --cov-branch
pytest -r a -v -n 3 --cov=lsst.pipe.base --cov=tests --cov-report=xml --cov-report=term --cov-branch \
--junitxml=junit.xml -o junit_family=legacy
butler register-instrument -h
butler transfer-from-graph -h
butler retrieve-artifacts-for-quanta -h
Expand All @@ -66,6 +67,11 @@ jobs:
with:
files: ./coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

pypi:
runs-on: ubuntu-latest
Expand Down

0 comments on commit e3241af

Please sign in to comment.