-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Olivie Franklova (CZ)
authored and
Olivie Franklova (CZ)
committed
May 2, 2024
1 parent
5ac2d97
commit 99a5b3a
Showing
1 changed file
with
3 additions
and
9 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 |
---|---|---|
|
@@ -59,26 +59,20 @@ jobs: | |
run: coverage report -m | ||
|
||
- name: Create coverage file | ||
if: github.event_name == 'pull_request' | ||
run: coverage xml | ||
|
||
- name: Get Cover | ||
- if: github.event_name == 'pull_request' | ||
if: github.event_name == 'pull_request' | ||
uses: orgoro/[email protected] | ||
with: | ||
coverageFile: coverage.xml | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
thresholdAll: 0.7 | ||
thresholdNew: 0.9 | ||
|
||
# - name: Collect coverage | ||
# uses: codecov/codecov-action@v3 | ||
# with: | ||
# token: ${{ secrets.CODECOV_TOKEN }} | ||
# fail_ci_if_error: true | ||
# files: ./coverage.xml | ||
# verbose: true | ||
|
||
- uses: actions/upload-artifact@v4 | ||
if: github.event_name == 'pull_request' | ||
with: | ||
name: coverage | ||
path: coverage.xml | ||
|