Skip to content

Commit

Permalink
👷 Switch to codecov/codecov-action
Browse files Browse the repository at this point in the history
  • Loading branch information
ddelange authored Sep 2, 2024
1 parent 156a668 commit 2e40a63
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ concurrency: # https://stackoverflow.com/questions/66335225#comment133398800_72
jobs:
build:
runs-on: ubuntu-20.04
permissions:
id-token: write # codecov/codecov-action
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
Expand Down Expand Up @@ -43,7 +45,7 @@ jobs:

- name: Install
run: |
pip install -U pip setuptools wheel codecov
pip install -U pip setuptools wheel
make install
- name: Lint
Expand All @@ -57,7 +59,7 @@ jobs:
if: matrix.python-version == 3.12
run: SPHINXOPTS=-W make builddocs

- name: Codecov
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: codecov
- uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
use_oidc: true

0 comments on commit 2e40a63

Please sign in to comment.