diff --git a/.ci/jenkins/Jenkinsfile.deploy b/.ci/jenkins/Jenkinsfile.deploy index 74f8d4d9c5f..403cac385fb 100644 --- a/.ci/jenkins/Jenkinsfile.deploy +++ b/.ci/jenkins/Jenkinsfile.deploy @@ -108,6 +108,7 @@ pipeline { dir(getRepoName()) { String mvnCmd = getMavenCommand() .withProperty('maven.test.failure.ignore', true) + .withProfiles(['full']) .skipTests(params.SKIP_TESTS) .getFullRunCommand('clean install') util.runWithPythonVirtualEnv(mvnCmd, 'swf') diff --git a/.ci/jenkins/Jenkinsfile.sonarcloud b/.ci/jenkins/Jenkinsfile.sonarcloud index ab611b91b15..a7b5874915b 100644 --- a/.ci/jenkins/Jenkinsfile.sonarcloud +++ b/.ci/jenkins/Jenkinsfile.sonarcloud @@ -33,7 +33,7 @@ pipeline { steps { script { util.runWithPythonVirtualEnv(getMavenCommand() - .withProfiles(['run-code-coverage']) + .withProfiles(['run-code-coverage', 'full']) .getFullRunCommand('clean install'), 'swf') } diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-executor-python/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-executor-python/pom.xml index 2acfde06fce..35b4c304747 100644 --- a/kogito-serverless-workflow/kogito-serverless-workflow-executor-python/pom.xml +++ b/kogito-serverless-workflow/kogito-serverless-workflow-executor-python/pom.xml @@ -43,4 +43,30 @@ test + + + + + org.codehaus.mojo + exec-maven-plugin + + + pip-install + generate-test-resources + + exec + + + pip + + install + -r + ${project.basedir}/requirements.txt + + + + + + + \ No newline at end of file diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-executor-python/requirements.txt b/kogito-serverless-workflow/kogito-serverless-workflow-executor-python/requirements.txt new file mode 100644 index 00000000000..8e77e5e3523 --- /dev/null +++ b/kogito-serverless-workflow/kogito-serverless-workflow-executor-python/requirements.txt @@ -0,0 +1,2 @@ +numpy>=1.21.0 +jep>=4.1.1 \ No newline at end of file diff --git a/kogito-serverless-workflow/pom.xml b/kogito-serverless-workflow/pom.xml index 260d8d98263..79607b9ccbf 100644 --- a/kogito-serverless-workflow/pom.xml +++ b/kogito-serverless-workflow/pom.xml @@ -44,11 +44,21 @@ - kogito-serverless-workflow-python-runtime kogito-serverless-workflow-executor - kogito-serverless-workflow-executor-python kogito-serverless-workflow-executor-tests + + full + + + full + + + + kogito-serverless-workflow-python-runtime + kogito-serverless-workflow-executor-python + + \ No newline at end of file diff --git a/quarkus/addons/pom.xml b/quarkus/addons/pom.xml index 0990d7aef81..d33f4acb6d9 100644 --- a/quarkus/addons/pom.xml +++ b/quarkus/addons/pom.xml @@ -48,9 +48,19 @@ task-management marshallers process-definitions - python + + full + + + full + + + + python + + diff --git a/quarkus/addons/python/integration-tests/pom.xml b/quarkus/addons/python/integration-tests/pom.xml index a7c6e0b2c00..d886ef60b50 100644 --- a/quarkus/addons/python/integration-tests/pom.xml +++ b/quarkus/addons/python/integration-tests/pom.xml @@ -76,6 +76,27 @@ + + + org.codehaus.mojo + exec-maven-plugin + + + pip-install + generate-resources + + exec + + + pip + + install + -r + ${project.basedir}/requirements.txt + + + + diff --git a/quarkus/addons/python/integration-tests/requirements.txt b/quarkus/addons/python/integration-tests/requirements.txt new file mode 100644 index 00000000000..8e77e5e3523 --- /dev/null +++ b/quarkus/addons/python/integration-tests/requirements.txt @@ -0,0 +1,2 @@ +numpy>=1.21.0 +jep>=4.1.1 \ No newline at end of file