Skip to content

Commit

Permalink
set the VDIFFR_RUN_TESTS env var in test-coverage too; fix a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinsimpson committed May 16, 2024
1 parent bce7e9e commit ddf83eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
# Runs vdiffr test only on the latest version of R
# Runs vdiffr test only on MacOS
VDIFFR_RUN_TESTS: ${{ matrix.config.os == 'macOS-latest' }}
VDIFFR_LOG_PATH: "../vdiffr.Rout.fail"

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
# Runs vdiffr test only on MacOS
VDIFFR_RUN_TESTS: ${{ matrix.config.os == 'macOS-latest' }}
VDIFFR_LOG_PATH: "../vdiffr.Rout.fail"

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit ddf83eb

Please sign in to comment.