Commit 7ed6af23 authored by Alan Braz's avatar Alan Braz
Browse files

Ibm unit int test

parent a9fb7b40
......@@ -97,6 +97,9 @@ ibm-deploy:
FILE_SERVICE_HOST: $IBM_FILE_SERVICE_HOST
DATA_PARTITION_ID: $IBM_DATA_PARTITION_ID
# Unit
VIRTUAL_SERVICE_HOST_NAME: $IBM_UNIT_SERVICE_HOST
ibm-test:
stage: integration
needs: ["ibm-deploy"]
......@@ -121,3 +124,28 @@ ibm-test:
except:
variables:
- $IBM_SKIP_TEST == 'true'
ibm-test-py:
stage: integration
image: python:3.6
needs: ["ibm-deploy"]
extends:
- .ibm_variables
script:
- pip install --upgrade pip
- cd $IBM_INT_TEST_PY_SUBDIR
- pip install -r requirements.txt
- python ${IBM_INT_TEST_PY_FILE:-test.py}
# artifacts:
# when: always
# paths:
# - $IBM_INT_TEST_SUBDIR/target/*/TEST-*.xml
# reports:
# junit:
# - $IBM_INT_TEST_SUBDIR/target/*/TEST-*.xml
only:
variables:
- $IBM_INT_TEST_PY_SUBDIR && $IBM == 'true'
except:
variables:
- $IBM_SKIP_TEST == 'true'
Supports Markdown
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