-
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
Apr 30, 2024
1 parent
40acd54
commit e155a9a
Showing
1 changed file
with
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,10 +61,24 @@ jobs: | |
- name: Create coverage file | ||
run: coverage xml | ||
|
||
- name: Get Cover | ||
uses: orgoro/[email protected] | ||
# - name: Get Cover | ||
# 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 | ||
with: | ||
coverageFile: coverage.xml | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
thresholdAll: 0.7 | ||
thresholdNew: 0.9 | ||
name: coverage | ||
path: coverage.xml | ||
retention-days: 1 |