Skip to content

Commit

Permalink
Add lines to create testthat.Rout
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusMuck committed Nov 14, 2024
1 parent c8857ff commit aefdc4d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,21 @@ jobs:
name: install-log
path: |
${{ steps.build-install-check.outputs.install-log }}
- name: Checkout code
uses: actions/checkout@v2

- name: Set up R
uses: r-lib/actions/setup-r@v2

- name: Install dependencies
run: Rscript -e 'install.packages("testthat")'

- name: Run tests and capture output
run: |
sink("tests/testthat/testthat.Rout")
testthat::test_dir("tests/testthat")
sink()
- name: Show testthat output (windows)
if: always() && runner.os == 'Windows'
Expand Down Expand Up @@ -145,5 +160,7 @@ jobs:
run: |
R CMD INSTALL .
Rscript -e "remotes::install_dev('pkgdown'); pkgdown::deploy_to_branch(new_process = FALSE)"



0 comments on commit aefdc4d

Please sign in to comment.