Commit ee855d5a authored by Ankit Sharma [Microsoft]'s avatar Ankit Sharma [Microsoft]
Browse files

Separated python integration test from java integration test

parent 1c9f0135
Pipeline #23996 passed with stage
in 10 seconds
......@@ -212,25 +212,38 @@ azure_test:
- .azure_variables
script:
- |
if [ "$AZURE_TEST_TYPE" == "python" ]; then
cd $AZURE_TEST_SUBDIR
chmod +x ./run-integration-tests.sh
./run-integration-tests.sh
if [ "$AZURE_SERVICE" == "file" ] || [ "$AZURE_SERVICE" == "delivery" ] || [ "$AZURE_SERVICE" == "ingestion-workflow" ]; then
$MAVEN clean verify -f $AZURE_TEST_SUBDIR/pom.xml # This Variable comes from the individual pipeline
else
if [ "$AZURE_SERVICE" == "file" ] || [ "$AZURE_SERVICE" == "delivery" ] || [ "$AZURE_SERVICE" == "ingestion-workflow" ]; then
$MAVEN clean verify -f $AZURE_TEST_SUBDIR/pom.xml # This Variable comes from the individual pipeline
else
mvn clean verify -f $AZURE_TEST_SUBDIR/pom.xml
fi
mvn clean verify -f $AZURE_TEST_SUBDIR/pom.xml
fi
artifacts:
when: always
reports:
junit:
- ./$AZURE_TEST_SUBDIR/target/surefire-reports/TEST-*.xml
- $AZURE_TEST_SUBDIR/target/*/TEST-*.xml
only:
variables:
- $AZURE == 'true'
- $AZURE == 'true' && $AZURE_TEST_TYPE != 'python'
except:
variables:
- $AZURE_SKIP_TEST == 'true'
azure_test_py:
image: $CI_REGISTRY/danielscholl/azure-maven/azure-maven:v1.0
stage: integration
needs: ["azure_deploy"]
extends:
- .maven
- .azure_variables
script:
- |
cd $AZURE_TEST_SUBDIR
chmod +x ./run-integration-tests.sh
./run-integration-tests.sh
only:
variables:
- $AZURE == 'true' && $AZURE_TEST_TYPE == 'python'
except:
variables:
- $AZURE_SKIP_TEST == 'true'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment