File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 name : ${{ matrix.config.os }} (R ${{ matrix.config.r-version }})
2020 runs-on : ${{ matrix.config.os }}
2121
22- # Strategy to run jobs in parallel for all target platforms
2322 strategy :
24- fail-fast : false # Important: Ensures all OS tests run even if one fails
23+ fail-fast : false
2524 matrix :
2625 config :
2726 - {os: windows-latest, r-version: 'release'}
@@ -41,18 +40,14 @@ jobs:
4140 - name : Set up Pandoc
4241 uses : r-lib/actions/setup-pandoc@v2
4342
44- - name : Install all package dependencies from DESCRIPTION
43+ - name : Install package dependencies
4544 uses : r-lib/actions/setup-r-dependencies@v2
46- with :
47- # This installs Imports, Depends, LinkingTo, AND Suggests packages
48- dependencies : " soft"
4945
5046 - name : Run live Java download and install tests
51- # This is the key step:
52- # 1. Set the environment variable to enable the test.
53- # 2. Run ONLY the specific test file using devtools::test_file().
5447 env :
55- RUN_JAVA_DOWNLOAD_TESTS : " TRUE"
48+ # This environment variable enables the specific test to run
49+ RUN_JAVA_DOWNLOAD_TESTS : " true"
5650 run : |
57- devtools::test_file('tests/testthat/test-java_full-cycle-live.R')
51+ # Use testthat::test_file() directly to avoid the devtools deprecation warning
52+ testthat::test_file('tests/testthat/test-java_full-cycle-live.R')
5853 shell : Rscript {0}
You can’t perform that action at this time.
0 commit comments