Skip to content

Commit

Permalink
Update R-CMD-check.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixErnst committed Mar 19, 2024
1 parent 983b5fc commit cf82066
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ jobs:
run: |
remotes::install_deps(dependencies = TRUE)
remotes::install_cran("rcmdcheck")
remotes::install_cran("pkgdown")
remotes::install_cran("covr")
shell: Rscript {0}

Expand Down Expand Up @@ -126,11 +127,13 @@ jobs:
path: check

- name: Install package
if: github.ref == 'refs/heads/master' && runner.os == 'ubuntu-22.04'
run: |
R CMD INSTALL .
git config --global user.name ${{secrets.GH_USER}}
git config --global user.email ${{secrets.GH_EMAIL}}
- name: Deploy Pkgdown to branch
if: github.ref == 'refs/heads/master' && runner.os == 'ubuntu-22.04'
run: pkgdown::deploy_to_branch(new_process = FALSE)
shell: Rscript {0}

0 comments on commit cf82066

Please sign in to comment.