Skip to content

Commit

Permalink
fix(ci): update build workflow to include coverage report directory
Browse files Browse the repository at this point in the history
  • Loading branch information
zyf722 committed Sep 4, 2024
1 parent 97f5299 commit 80c8f79
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,15 @@ jobs:
uses: crate-ci/typos@master

- name: Run tests
run: poetry run pytest -vvv --cov
run: poetry run pytest -vvv --cov=./ --cov-report=xml

- name: Upload results to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
name: execenv
verbose: true
directory: ./coverage/reports/
env_vars: OS,PYTHON

- name: Build package
Expand Down

0 comments on commit 80c8f79

Please sign in to comment.