Skip to content

Commit 587716a

Browse files
insere token pour codecov
1 parent 22bf771 commit 587716a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/test-coverage.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
1414
INSEE_APP_KEY: ${{ secrets.INSEE_APP_KEY }}
1515
INSEE_APP_SECRET: ${{ secrets.INSEE_APP_SECRET }}
16+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
1617
CURLOPT_TIMEOUT: 0
1718
steps:
1819
- uses: actions/checkout@v2
@@ -42,10 +43,6 @@ jobs:
4243
shell: Rscript {0}
4344

4445
- name: Test coverage
45-
run: covr::codecov()
46+
run: covr::codecov(token = Sys.getenv("CODECOV_TOKEN"))
4647
shell: Rscript {0}
4748

48-
- name: Upload coverage to Codecov
49-
uses: codecov/codecov-action@v3
50-
with:
51-
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)