Compare commits

...

5 Commits

Author SHA1 Message Date
William Cheng
1bc19c694e fix dir 2024-03-13 15:07:03 +08:00
William Cheng
da2401a520 skip test 2024-03-13 14:59:05 +08:00
William Cheng
474325a9e5 update install 2024-03-11 15:33:40 +08:00
William Cheng
8e8e16e136 fix dir 2024-03-11 14:40:20 +08:00
William Cheng
a450c651b9 test R clients in node4 of circleci 2024-03-11 14:35:04 +08:00
2 changed files with 25 additions and 0 deletions

View File

@ -192,6 +192,20 @@ jobs:
- checkout
- command_build_and_test:
nodeNo: "3"
node4:
machine:
image: ubuntu-2004:202201-02
working_directory: ~/OpenAPITools/openapi-generator
shell: /bin/bash --login
environment:
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results
DOCKER_GENERATOR_IMAGE_NAME: openapitools/openapi-generator
DOCKER_CODEGEN_CLI_IMAGE_NAME: openapitools/openapi-generator-cli
steps:
- checkout
- command_build_and_test:
nodeNo: "4"
workflows:
version: 2
build:
@ -200,3 +214,4 @@ workflows:
- node1
- node2
- node3
- node4

View File

@ -93,6 +93,16 @@ elif [ "$NODE_INDEX" = "3" ]; then
(cd samples/client/petstore/javascript-es6 && mvn integration-test)
(cd samples/client/petstore/javascript-promise-es6 && mvn integration-test)
elif [ "$NODE_INDEX" = "4" ]; then
echo "Running node $NODE_INDEX ..."
sudo apt install r-base r-base-dev -y
sudo apt-get install r-base-core libssl-dev libcurl4-openssl-dev -y # for httr
#(cd samples/client/petstore/R && mvn integration-test)
(cd samples/client/petstore/R-httr2 && mvn integration-test)
(cd samples/client/petstore/R-httr2-wrapper && mvn integration-test)
else
echo "Running node $NODE_INDEX ..."
java -version