Skip to content

Commit

Permalink
Run codecov through downstream CI
Browse files Browse the repository at this point in the history
  • Loading branch information
figi44 committed Jun 9, 2023
1 parent fb1c3c6 commit 1b155a8
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
uses: ecmwf-actions/downstream-ci/.github/workflows/downstream-ci.yml@main
with:
eckit: ecmwf/eckit@${{ github.event.pull_request.head.sha || github.sha }}
codecov_upload: true
secrets: inherit

# Run CI of private downstream packages on self-hosted runners
Expand Down Expand Up @@ -74,15 +75,6 @@ jobs:
event_type: downstream-ci-hpc
payload: '{"eckit": "ecmwf/eckit@${{ 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:
eckit: ecmwf/eckit@${{ github.event.pull_request.head.sha || github.sha }}
codecov: true
secrets: inherit

formatting:
if: ${{ !github.event.pull_request.head.repo.fork && github.event.action != 'labeled' || github.event.label.name == 'approved-for-ci' }}
uses: ecmwf-actions/reusable-workflows/.github/workflows/clang-format.yml@v2
Expand Down

0 comments on commit 1b155a8

Please sign in to comment.