mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 02:56:56 +08:00
Setting ENVIRONMENT_NAME.
This commit is contained in:
1
.github/workflows/UnitTesting.yml
vendored
1
.github/workflows/UnitTesting.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user