mirror of https://github.com/ecmwf/eccodes.git
Run codecov on self hosted runners
This commit is contained in:
parent
4f3b631e3d
commit
7da792f1e7
|
@ -27,6 +27,7 @@ jobs:
|
|||
uses: ecmwf-actions/downstream-ci/.github/workflows/downstream-ci.yml@main
|
||||
with:
|
||||
eccodes: ecmwf/eccodes@${{ github.event.pull_request.head.sha || github.sha }}
|
||||
codecov_upload: true
|
||||
secrets: inherit
|
||||
|
||||
# Run CI of private downstream packages on self-hosted runners
|
||||
|
@ -74,15 +75,6 @@ jobs:
|
|||
event_type: downstream-ci-hpc
|
||||
payload: '{"eccodes": "ecmwf/eccodes@${{ github.event.pull_request.head.sha || github.sha }}"}'
|
||||
|
||||
codecov:
|
||||
name: code-coverage
|
||||
if: ${{ !github.event.pull_request.head.repo.fork && github.event.action != 'labeled' || github.event.label.name == 'approved-for-ci' }}
|
||||
uses: ./.github/workflows/reusable-ci.yml
|
||||
with:
|
||||
eccodes: ecmwf/eccodes@${{ github.event.pull_request.head.sha || github.sha }}
|
||||
codecov: true
|
||||
secrets: inherit
|
||||
|
||||
notify:
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
|
|
Loading…
Reference in New Issue