ci: skip coverage upload if not in LizardByte org (#2436)
This commit is contained in:
parent
ec8170cb40
commit
c896dabb82
1 changed files with 12 additions and 3 deletions
15
.github/workflows/CI.yml
vendored
15
.github/workflows/CI.yml
vendored
|
|
@ -507,7 +507,10 @@ jobs:
|
||||||
|
|
||||||
- name: Upload coverage
|
- name: Upload coverage
|
||||||
# any except canceled or skipped
|
# any except canceled or skipped
|
||||||
if: always() && (steps.test_report.outcome == 'success')
|
if: >-
|
||||||
|
always() &&
|
||||||
|
(steps.test_report.outcome == 'success') &&
|
||||||
|
startsWith(github.repository, 'LizardByte/')
|
||||||
uses: codecov/codecov-action@v4
|
uses: codecov/codecov-action@v4
|
||||||
with:
|
with:
|
||||||
fail_ci_if_error: true
|
fail_ci_if_error: true
|
||||||
|
|
@ -832,7 +835,10 @@ jobs:
|
||||||
|
|
||||||
- name: Upload coverage
|
- name: Upload coverage
|
||||||
# any except canceled or skipped
|
# any except canceled or skipped
|
||||||
if: always() && (steps.test_report.outcome == 'success')
|
if: >-
|
||||||
|
always() &&
|
||||||
|
(steps.test_report.outcome == 'success') &&
|
||||||
|
startsWith(github.repository, 'LizardByte/')
|
||||||
uses: codecov/codecov-action@v4
|
uses: codecov/codecov-action@v4
|
||||||
with:
|
with:
|
||||||
fail_ci_if_error: false # todo: re-enable this when action is fixed
|
fail_ci_if_error: false # todo: re-enable this when action is fixed
|
||||||
|
|
@ -1070,7 +1076,10 @@ jobs:
|
||||||
|
|
||||||
- name: Upload coverage
|
- name: Upload coverage
|
||||||
# any except canceled or skipped
|
# any except canceled or skipped
|
||||||
if: always() && (steps.test_report.outcome == 'success')
|
if: >-
|
||||||
|
always() &&
|
||||||
|
(steps.test_report.outcome == 'success') &&
|
||||||
|
startsWith(github.repository, 'LizardByte/')
|
||||||
uses: codecov/codecov-action@v4
|
uses: codecov/codecov-action@v4
|
||||||
with:
|
with:
|
||||||
fail_ci_if_error: true
|
fail_ci_if_error: true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue