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 e859543
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 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
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ on:
jobs:
ci:
name: Run CI pipeline
uses: MatthiasValvekens/pyHanko/.github/workflows/build-pipeline.yml@master
uses: MatthiasValvekens/pyHanko/.github/workflows/build-pipeline.yml@ci/codecov-bump
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 e859543

Please sign in to comment.