mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-13 11:36:57 +08:00
Setting ENVIRONMENT_NAME.
This commit is contained in:
2
.github/workflows/CoverageCollection.yml
vendored
2
.github/workflows/CoverageCollection.yml
vendored
@@ -127,8 +127,8 @@ jobs:
|
||||
- name: Collect coverage
|
||||
continue-on-error: true
|
||||
run: |
|
||||
export ENVIRONMENT_NAME="Linux (x86-64)"
|
||||
RELDIR="$(realpath --relative-to=${{ inputs.tests_directory }} .)"
|
||||
echo "relative: ${RELDIR}"
|
||||
cd ${{ inputs.tests_directory }}
|
||||
[ 'x${{ inputs.coverage_config }}' != 'x' ] && PYCOV_ARGS="--cov-config=${RELDIR}/${{ inputs.coverage_config }}" || unset PYCOV_ARGS
|
||||
echo "python -m pytest -rA --cov=${RELDIR} ${PYCOV_ARGS} ${{ inputs.unittest_directory }} --color=yes"
|
||||
|
||||
Reference in New Issue
Block a user