Skip to content

Commit 6dfeb70

Browse files
more verbose end to end test
1 parent bd8ad27 commit 6dfeb70

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/end-to-end.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff 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
@@ -79,7 +82,9 @@ jobs:
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:

0 commit comments

Comments
 (0)