Skip to content

Commit

Permalink
Fix Windows R tests (#210)
Browse files Browse the repository at this point in the history
* Manually fail for Windows RLang tests

actions/runner-images#6668

* Quoting changes in Powershell 7.4

actions/runner-images#9115
  • Loading branch information
WardBrian authored Feb 12, 2024
1 parent 535a0e5 commit db9ba8b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,14 @@ jobs:
run: |
cd R/tests/testthat
gcc -fpic -shared -o test_collisions.dll test_collisions.c
if (!$LASTEXITCODE.Equals(0)) {exit $LASTEXITCODE}
cd ../..
Rscript -e 'devtools::test(reporter = c(\"summary\", \"fail\"))'
Rscript -e 'install.packages(getwd(), repos=NULL, type=\"source\")'
Rscript -e 'devtools::test(reporter = c("summary", "fail"))'
if (!$LASTEXITCODE.Equals(0)) {exit $LASTEXITCODE}
Rscript -e 'install.packages(getwd(), repos=NULL, type="source")'
if (!$LASTEXITCODE.Equals(0)) {exit $LASTEXITCODE}
Rscript example.R
if (!$LASTEXITCODE.Equals(0)) {exit $LASTEXITCODE}
env:
BRIDGESTAN: ${{ github.workspace }}

Expand Down

0 comments on commit db9ba8b

Please sign in to comment.