Skip to content

Commit 30ae9af

Browse files
skip tests that interfear with pkgdown
1 parent fdc8597 commit 30ae9af

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

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

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,36 +63,41 @@ jobs:
6363
run: |
6464
brew install pre-commit
6565
pre-commit install --install-hooks
66-
cat DESCRIPTION
6766
68-
echo "#' some code\n#'\n#' @param here.\n#' @name somethings\nNULL" > R/test.R # overwrite if anything there
6967
echo 'running R/test.R'
68+
echo "#' some code\n#'\n#' @param here.\n#' @name somethings\nNULL" > R/test.R # overwrite if anything there
7069
pre-commit run --files R/test.R
7170
71+
echo 'running DESCRIPTION'
7272
cp tests/testthat/reference-objects/DESCRIPTION .
73-
sleep 1
73+
sleep 2
7474
echo 'one' >> codemeta.json
75-
echo 'running DESCRIPTION'
7675
pre-commit run --files DESCRIPTION
7776
77+
echo 'running README'
7878
echo 'one' > README.Rmd
79+
sleep 1
7980
echo 'one' > README.md
8081
git add README*
81-
echo 'running README'
8282
pre-commit run --files README.Rmd
8383
84+
echo 'running _pkgdown.yml'
8485
cp tests/testthat/in/_pkgdown-index-articles.yml _pkgdown.yml
8586
rm -rf vignettes
8687
mkdir vignettes
8788
cp tests/testthat/in/pkgdown.Rmd vignettes/
89+
pre-commit run --files _pkgdown.yml
90+
91+
echo 'running man/autoupdate.Rd'
92+
git reset HEAD --hard # restore initial state
93+
git clean -f
8894
rm -rf man/
8995
mkdir -p man
9096
cp tests/testthat/in/autoupdate.Rd man/
91-
echo 'running _pkgdown.yml'
92-
pre-commit run --files _pkgdown.yml
97+
SKIP=pkgdown,consistent-release-tag pre-commit run --files man/autoupdate.Rd
9398
94-
echo 'running man/autoupdate.Rd'
95-
pre-commit run --files man/autoupdate.Rd
9699
git reset HEAD --hard # restore initial state
100+
git clean -f
101+
97102
env:
98103
SKIP: consistent-release-tag

0 commit comments

Comments
 (0)