Run codecov on self hosted runners

This commit is contained in:
Dusan Figala 2024-04-24 13:45:38 +02:00
parent 4f3b631e3d
commit 7da792f1e7
1 changed files with 1 additions and 9 deletions

View File

@ -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: