Skip to content

Commit

Permalink
ci: skip coverage upload if not in LizardByte org
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher committed Apr 17, 2024
1 parent ec8170c commit db3f8c5
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,9 @@ jobs:
- name: Upload coverage
# 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
with:
fail_ci_if_error: true
Expand Down Expand Up @@ -832,7 +834,9 @@ jobs:
- name: Upload coverage
# 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
with:
fail_ci_if_error: false # todo: re-enable this when action is fixed
Expand Down Expand Up @@ -1070,7 +1074,9 @@ jobs:
- name: Upload coverage
# 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
with:
fail_ci_if_error: true
Expand Down

0 comments on commit db3f8c5

Please sign in to comment.