Commit dd7e8666 authored by Kin Jin Ng's avatar Kin Jin Ng
Browse files

propagate env name to pytest context

parent c4463f6c
Pipeline #53338 passed with stages
in 19 minutes and 47 seconds
......@@ -148,9 +148,16 @@ steps:
source venv37/bin/activate
pip install -r ./requirements_dev.txt
pytest tests/integration/functional/ --filter-tag=!search --junit-xml=$(testReportBaseName)_int_tests_report.xml -o junit_suite_name="wdms_integration_$(testReportBaseName)" --environment=generated/postman_environment.json --retry-on-error=502 $(insecure_flag) $(test_alpha_feature_flag)
pytest tests/integration/functional/ --filter-tag=!search --junit-xml=$(testReportBaseName)_int_tests_report.xml \
-o junit_suite_name="wdms_integration_$(testReportBaseName)" --environment=generated/postman_environment.json \
--retry-on-error=502 \
$(insecure_flag) \
$(test_alpha_feature_flag) \
--param=ENVIRONMENT_NAME:$ENVIRONMENT_NAME
deactivate
displayName: 'RUN INTEGRATION-E2E'
env:
ENVIRONMENT_NAME: ${{ parameters.environmentName }}
- bash: |
set -e
......
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