Setting ENVIRONMENT_NAME.

This commit is contained in:
Patrick Lehmann
2022-11-06 12:53:28 +01:00
parent 7aae4b2aaa
commit e5af317346
2 changed files with 2 additions and 1 deletions

View File

@@ -189,6 +189,7 @@ jobs:
- name: ☑ Run unit tests (Ubuntu/macOS)
if: matrix.system != 'windows'
run: |
export ENVIRONMENT_NAME="${{ matrix.envname }}"
cd ${{ inputs.tests_directory }}
[ 'x${{ inputs.artifact }}' != 'x' ] && PYTEST_ARGS='--junitxml=TestReportSummary.xml' || unset PYTEST_ARGS
python -m pytest -rA ${{ inputs.unittest_directory }} $PYTEST_ARGS --color=yes