File tree Expand file tree Collapse file tree 2 files changed +25
-25
lines changed
Expand file tree Collapse file tree 2 files changed +25
-25
lines changed Original file line number Diff line number Diff line change @@ -91,17 +91,17 @@ jobs:
9191 find '${{ runner.temp }}/package' -name 'testthat.Rout*' -exec cat '{}' \; || true
9292 shell : bash
9393
94- # - name: Upload test results
95- # if: failure()
96- # uses: actions/upload-artifact@v4
97- # with:
98- # name: coverage-test-failures
99- # path: ${{ runner.temp }}/package
94+ - name : Upload test results
95+ if : failure()
96+ uses : actions/upload-artifact@v4
97+ with :
98+ name : coverage-test-failures
99+ path : ${{ runner.temp }}/package
100100
101- # - uses: codecov/codecov-action@v5
102- # with:
103- # fail_ci_if_error: ${{ github.event_name != 'pull_request' && true || false }}
104- # file: ./cobertura.xml
105- # plugin: noop
106- # disable_search: true
107- # token: ${{ secrets.CODECOV_TOKEN }}
101+ - uses : codecov/codecov-action@v5
102+ with :
103+ fail_ci_if_error : ${{ github.event_name != 'pull_request' && true || false }}
104+ file : ./cobertura.xml
105+ plugin : noop
106+ disable_search : true
107+ token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 77# * https://testthat.r-lib.org/reference/test_package.html#special-files
88
99
10- # if (Sys.getenv("GITHUB_ACTIONS") == "true") {
11- # fprintf("RETICULATE_PYTHON: %s\n", Sys.getenv("RETICULATE_PYTHON"))
10+ if (Sys.getenv(" GITHUB_ACTIONS" ) == " true" ) {
11+ fprintf(" RETICULATE_PYTHON: %s\n " , Sys.getenv(" RETICULATE_PYTHON" ))
1212
13- # Sys.setenv(RETICULATE_PYTHON = Sys.which("python")) # Set Python interpreter
14- # reticulate::use_python(Sys.which("python")) # double confirm
13+ Sys.setenv(RETICULATE_PYTHON = Sys.which(" python" )) # Set Python interpreter
14+ reticulate :: use_python(Sys.which(" python" )) # double confirm
1515
16- # rgeeLite::ee_auth_ci()
17- # } else {
18- # rgeeLite::ee_Init() # Initialize rgeeLite
19- # }
16+ rgeeLite :: ee_auth_ci()
17+ } else {
18+ rgeeLite :: ee_Init() # Initialize rgeeLite
19+ }
2020
21- # library(testthat)
22- # library(rgee)
23- # library(rgeeLite)
21+ library(testthat )
22+ library(rgee )
23+ library(rgeeLite )
2424
25- # test_check("rgeeLite")
25+ test_check(" rgeeLite" )
You can’t perform that action at this time.
0 commit comments