Skip to content

Commit

Permalink
Update codecov.yaml install-devtools
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle-messier authored Sep 23, 2023
1 parent 6d8c2b3 commit 1df57e1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ jobs:
with:
r-version: 4.1 # You can change this to the R version you need

- name: Install devtools
run: R -e 'install.packages("devtools")'

- name: Install dependencies
run: |
R -e 'install.packages("devtools")'
R -e 'devtools::install_deps()'
- name: Run tests and calculate coverage
Expand All @@ -37,7 +39,7 @@ jobs:
run: |
R -e 'library(covr); covr::codecov()'
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} # Make sure you have added this secret to your repository
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Cleanup
run: |
Expand Down

0 comments on commit 1df57e1

Please sign in to comment.