File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -61,16 +61,19 @@ jobs:
6161
6262 - name : Run pre-commit
6363 run : |
64+ brew install pre-commit
6465 cat DESCRIPTION
6566 echo 'one' > README.Rmd
6667 echo 'one' >> codemeta.json
6768 echo 'one' > README.md
6869 echo "#' some code\n#'\n#' @param here.\n#' @name somethings\nNULL" > R/test.R # overwrite if anything there
69- brew install pre-commit
7070 pre-commit install
71+ echo 'running R/test.R'
7172 pre-commit run --files R/test.R
73+ echo 'running DESCRIPTION'
7274 pre-commit run --files DESCRIPTION
7375 git add README*
76+ echo 'running README'
7477 pre-commit run --files README.Rmd
7578 cp tests/testthat/in/_pkgdown-index-articles.yml _pkgdown.yml
7679 rm -rf vignettes
7982 rm -rf man/
8083 mkdir -p man
8184 cp tests/testthat/in/autoupdate.Rd man/
85+ echo 'running _pkgdown.yml'
8286 pre-commit run --files _pkgdown.yml
87+ echo 'running man/autoupdate.Rd'
8388 pre-commit run --files man/autoupdate.Rd
8489 git reset HEAD --hard # restore initial state
8590 env :
You can’t perform that action at this time.
0 commit comments