diff --git a/.circleci/config.yml b/.circleci/config.yml index c3611c57351..46d709f9699 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,7 +10,7 @@ jobs: machine: image: circleci/classic:latest working_directory: ~/OpenAPITools/openapi-generator - parallelism: 3 + parallelism: 4 shell: /bin/bash --login environment: CIRCLE_ARTIFACTS: /tmp/circleci-artifacts diff --git a/CI/circle_parallel.sh b/CI/circle_parallel.sh index f1a5a529a79..e8a80f93789 100755 --- a/CI/circle_parallel.sh +++ b/CI/circle_parallel.sh @@ -43,6 +43,21 @@ elif [ "$NODE_INDEX" = "2" ]; then # run integration tests mvn --no-snapshot-updates --quiet verify -Psamples.misc -Dorg.slf4j.simpleLogger.defaultLogLevel=error +elif [ "$NODE_INDEX" = "3" ]; then + + echo "Running node $NODE_INDEX to test 'samples.circleci.node3' defined in pom.xml ..." + #wget https://www.python.org/ftp/python/3.8.9/Python-3.8.9.tgz + #tar -xf Python-3.8.9.tgz + #cd Python-3.8.9 + #./configure --enable-optimizations + #sudo make altinstall + pyenv install --list + pyenv install 3.6.3 + pyenv global 3.6.3 + python3 --version + + mvn --no-snapshot-updates --quiet verify -Psamples.circleci.node3 -Dorg.slf4j.simpleLogger.defaultLogLevel=error + else echo "Running node $NODE_INDEX to test 'samples.circleci.others' defined in pom.xml ..." #sudo update-java-alternatives -s java-1.7.0-openjdk-amd64 diff --git a/pom.xml b/pom.xml index 07a261fb0d2..fd9c9502ed1 100644 --- a/pom.xml +++ b/pom.xml @@ -1224,12 +1224,9 @@ samples/client/petstore/php/OpenAPIClient-php --> samples/client/petstore/javascript-flowtyped - samples/client/petstore/python - samples/client/petstore/python_disallowAdditionalPropertiesIfNotPresent samples/client/petstore/python-legacy samples/client/petstore/python-asyncio samples/client/petstore/python-tornado - samples/openapi3/client/petstore/python samples/openapi3/client/petstore/python-legacy @@ -1304,6 +1301,22 @@ + + + samples.circleci.node3 + + + env + samples.circleci.node3 + + + + + samples/client/petstore/python + samples/client/petstore/python_disallowAdditionalPropertiesIfNotPresent + samples/openapi3/client/petstore/python + + samples.circleci.others