Skip to content

Commit

Permalink
Update py_test
Browse files Browse the repository at this point in the history
  • 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.
26 changes: 20 additions & 6 deletions .github/workflows/py_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e155a9a

Please sign in to comment.