-
-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This updates the `.codecov.yml` file to be more compliant with codecov expectations. And it changes the invocation of pytest with coverage in the testing environment to track the installed files. --------- Co-authored-by: Will Shanks <[email protected]>
- Loading branch information
Showing
2 changed files
with
5 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,8 @@ jobs: | |
python -m pip install .[arrays,test] | ||
- name: Test source code and docs | ||
run: | | ||
pytest --cov . --cov-report xml | ||
cd tests | ||
python -m pytest --cov=uncertainties --cov=. --cov-report=xml --cov-report=term | ||
- name: Upload coverage reports to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
|