Skip to content

Commit

Permalink
Upgrade codecov action
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasValvekens committed Mar 14, 2024
1 parent 4ffc087 commit 671c1cc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ on:
pull_request:
branches: [ master ]
workflow_call:
secrets: {}
secrets:
CODECOV_TOKEN:
required: true
outputs:
hashes:
description: "Hashes of the artifacts that were built"
Expand Down Expand Up @@ -152,8 +154,9 @@ jobs:
pattern: coverage-*
path: ./reports/
- name: Upload all coverage reports to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./reports/
flags: unittests
env_vars: OS,PYTHON
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
permissions:
actions: write
contents: read
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
extract-params:
name: Determine release parameters
runs-on: ubuntu-latest
Expand Down

0 comments on commit 671c1cc

Please sign in to comment.