-
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust CI github action to upload code coverage to codecov.io.
- Loading branch information
1 parent
ec15317
commit 05361a7
Showing
2 changed files
with
7 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,15 +33,11 @@ jobs: | |
- name: Test source code and docs | ||
run: | | ||
pytest --cov . --cov-report xml | ||
# - name: Upload coverage reports to Codecov | ||
# uses: codecov/codecov-action@v3 | ||
# with: | ||
# token: ${{ secrets.CODECOV_TOKEN }} | ||
# flags: ${{ matrix.python-version }} | ||
# files: coverage.xml | ||
# fail_ci_if_error: true | ||
# verbose: true | ||
# | ||
- name: Upload coverage reports to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
slug: lmfit/uncertainties | ||
results: | ||
# This step aggregates the results from all the tests and allows us to | ||
# require only this single job to pass for a PR to be merged rather than | ||
|
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