Skip to content

Commit 524a892

Browse files
Carole SudreCarole Sudre
authored andcommitted
Trying to sort codecov issue
1 parent 348275d commit 524a892

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/python-app.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name: Unit Tests
99

1010
on:
1111
push:
12-
branches: [ main ] # run when anything is pushed to these branches
12+
branches: [ main, docs_tests ] # run when anything is pushed to these branches
1313
pull_request:
1414
branches: [ main ] # run for the code submitted as a PR to these branches
1515

@@ -55,12 +55,14 @@ jobs:
5555
5656
# Using Codecov's action, upload the coverage report for the triggering commit/PR
5757
- name: Upload coverage
58-
uses: codecov/codecov-action@v2
58+
uses: codecov/codecov-action@v4
5959
with:
6060
file: ./coverage.xml
6161
fail_ci_if_error: true
6262
verbose: true
6363
version: "v0.1.15"
64+
codecov:
65+
token: ${{ secrets.CODECOV_TOKEN }}
6466

6567
build_docs:
6668
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)