Skip to content

Commit

Permalink
Fix coverage upload
Browse files Browse the repository at this point in the history
  • Loading branch information
lsbardel committed Jul 23, 2023
1 parent dc7d7d0 commit 42bd665
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,12 @@ jobs:
run: make lint
- name: run tests
run: make test
- name: upload coverage
- name: upload coverage reports to codecov
if: matrix.python-version == '3.11'
run: make codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./build/coverage.xml
- name: build book
if: ${{ matrix.python-version == '3.11' }}
run: make book
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: help clean docs install lint test codecov
.PHONY: help clean docs install-dev lint lint-check test publish notebook book publish-book

help:
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'
Expand Down

0 comments on commit 42bd665

Please sign in to comment.