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 bd1a427 commit 0f2c1bc
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ on:
jobs:
CI:
runs-on: ubuntu-20.04
permissions:
id-token: write # codecov/codecov-action
strategy:
matrix:
python-version: ['2.7', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
Expand Down Expand Up @@ -54,7 +56,7 @@ jobs:
- name: Install dependencies
run: |
pip install -U pip setuptools wheel codecov
pip install -U pip setuptools wheel
make install
- name: Lint
Expand All @@ -64,11 +66,10 @@ jobs:
- name: Test
run: make test

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

windows-smoketest:
runs-on: windows-latest
Expand Down

0 comments on commit 0f2c1bc

Please sign in to comment.