Skip to content

Commit 6137c4c

Browse files
Set the env vars within R
1 parent e53a42f commit 6137c4c

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.github/workflows/integration-tests.yaml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,4 @@ jobs:
5050
with:
5151
connect-version: ${{ matrix.version }}
5252
connect-license: ${{ secrets.CONNECT_LICENSE_FILE }}
53-
command: 'export CONNECTAPI_INTEGRATED=true && export TEST_1_SERVER=${CONNECT_SERVER} && export TEST_1_API_KEY=${CONNECT_API_KEY} && Rscript tests/test-integrated.R'
54-
55-
- name: Show testthat output
56-
if: always()
57-
run: find check -name 'testthat.Rout*' -exec cat '{}' \; || true
58-
shell: bash
59-
60-
- name: Upload check results
61-
if: failure()
62-
uses: actions/upload-artifact@main
63-
with:
64-
name: ${{ runner.os }}-${{ matrix.version }}-results
65-
path: check
53+
command: 'Rscript -e "Sys.setenv(CONNECT_INTEGRATED=\"true\", TEST_1_SERVER=Sys.getenv(\"CONNECT_SERVER\"), TEST_1_API_KEY=Sys.getenv(\"CONNECT_API_KEY\")); source(\"tests/test-integrated.R\")"'

0 commit comments

Comments
 (0)