Skip to content

Commit 22bf771

Browse files
upload le resultat de codecov
1 parent 6ce1d19 commit 22bf771

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/test-coverage.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- uses: r-lib/actions/setup-r@v2
2121

22-
- uses: r-lib/actions/setup-pandoc@v1
22+
- uses: r-lib/actions/setup-pandoc@v2
2323

2424
- name: Query dependencies
2525
run: |
@@ -37,11 +37,15 @@ jobs:
3737

3838
- name: Install dependencies
3939
run: |
40-
install.packages(c("remotes"))
40+
install.packages(c("remotes", "covr"))
4141
remotes::install_deps(dependencies = TRUE)
42-
remotes::install_cran("covr")
4342
shell: Rscript {0}
4443

4544
- name: Test coverage
4645
run: covr::codecov()
4746
shell: Rscript {0}
47+
48+
- name: Upload coverage to Codecov
49+
uses: codecov/codecov-action@v3
50+
with:
51+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)