Skip to content

Commit e7863cc

Browse files
authored
Merge pull request #206 from ecmwf/fix/ci-codecov
Run codecov on self hosted runners
2 parents 4f3b631 + 492fe6e commit e7863cc

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
uses: ecmwf-actions/downstream-ci/.github/workflows/downstream-ci.yml@main
2828
with:
2929
eccodes: ecmwf/eccodes@${{ github.event.pull_request.head.sha || github.sha }}
30+
codecov_upload: true
3031
secrets: inherit
3132

3233
# Run CI of private downstream packages on self-hosted runners
@@ -74,23 +75,13 @@ jobs:
7475
event_type: downstream-ci-hpc
7576
payload: '{"eccodes": "ecmwf/eccodes@${{ github.event.pull_request.head.sha || github.sha }}"}'
7677

77-
codecov:
78-
name: code-coverage
79-
if: ${{ !github.event.pull_request.head.repo.fork && github.event.action != 'labeled' || github.event.label.name == 'approved-for-ci' }}
80-
uses: ./.github/workflows/reusable-ci.yml
81-
with:
82-
eccodes: ecmwf/eccodes@${{ github.event.pull_request.head.sha || github.sha }}
83-
codecov: true
84-
secrets: inherit
85-
8678
notify:
8779
runs-on: ubuntu-latest
8880
needs:
8981
- downstream-ci
9082
- private-downstream-ci
9183
- downstream-ci-hpc
9284
- private-downstream-ci-hpc
93-
- codecov
9485
if: always() && ${{ !github.event.pull_request.head.repo.fork && github.event.action != 'labeled' || github.event.label.name == 'approved-for-ci' }}
9586
steps:
9687
- name: Trigger Teams notification

0 commit comments

Comments
 (0)