Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ jobs:
fail-fast: false

runs-on: ${{ matrix.os }}
permissions:
contents: read
# Lets the Codecov steps authenticate with a short-lived OIDC token instead of the
# CODECOV_TOKEN secret, which Dependabot-triggered runs are not given.
id-token: write
defaults:
run:
shell: bash
Expand Down Expand Up @@ -48,15 +53,15 @@ jobs:
flags: python${{ matrix.python-version }}
name: codecov-umbrella-test-results
report_type: test_results
token: ${{ secrets.CODECOV_TOKEN }}
use_oidc: true
- name: Upload coverage to Codecov
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
with:
env_vars: OS,PYTHON
fail_ci_if_error: true
flags: unittests
name: codecov-umbrella
token: ${{ secrets.CODECOV_TOKEN }}
use_oidc: true
verbose: true

# Single stable status check for the whole test matrix, so branch protection
Expand Down
Loading