mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix code coverage uploads
This commit is contained in:
parent
38ed660c2a
commit
78c6c47349
4 changed files with 12 additions and 4 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -1839,7 +1839,9 @@ jobs:
|
|||
nox --force-color -e create-xml-coverage-reports
|
||||
|
||||
- name: Upload Code Coverage To Codecov
|
||||
if: ${{ ! github.event.repository.private }}
|
||||
if: ${{ ! github.event.repository.private && ! github.event.repository.fork }}
|
||||
env:
|
||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
run: |
|
||||
tools ci upload-coverage --commit-sha=${{ github.event.pull_request.head.sha || github.sha }} artifacts/coverage/
|
||||
|
||||
|
|
4
.github/workflows/nightly.yml
vendored
4
.github/workflows/nightly.yml
vendored
|
@ -1901,7 +1901,9 @@ jobs:
|
|||
nox --force-color -e create-xml-coverage-reports
|
||||
|
||||
- name: Upload Code Coverage To Codecov
|
||||
if: ${{ ! github.event.repository.private }}
|
||||
if: ${{ ! github.event.repository.private && ! github.event.repository.fork }}
|
||||
env:
|
||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
run: |
|
||||
tools ci upload-coverage --commit-sha=${{ github.event.pull_request.head.sha || github.sha }} artifacts/coverage/
|
||||
|
||||
|
|
4
.github/workflows/scheduled.yml
vendored
4
.github/workflows/scheduled.yml
vendored
|
@ -1878,7 +1878,9 @@ jobs:
|
|||
nox --force-color -e create-xml-coverage-reports
|
||||
|
||||
- name: Upload Code Coverage To Codecov
|
||||
if: ${{ ! github.event.repository.private }}
|
||||
if: ${{ ! github.event.repository.private && ! github.event.repository.fork }}
|
||||
env:
|
||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
run: |
|
||||
tools ci upload-coverage --commit-sha=${{ github.event.pull_request.head.sha || github.sha }} artifacts/coverage/
|
||||
|
||||
|
|
4
.github/workflows/templates/ci.yml.jinja
vendored
4
.github/workflows/templates/ci.yml.jinja
vendored
|
@ -373,7 +373,9 @@
|
|||
nox --force-color -e create-xml-coverage-reports
|
||||
|
||||
- name: Upload Code Coverage To Codecov
|
||||
if: ${{ ! github.event.repository.private }}
|
||||
if: ${{ ! github.event.repository.private && ! github.event.repository.fork }}
|
||||
env:
|
||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
run: |
|
||||
tools ci upload-coverage --commit-sha=${{ github.event.pull_request.head.sha || github.sha }} artifacts/coverage/
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue