Skip to content

Commit 6df5967

Browse files
RobPasMuewiderscheinpyansys-ci-bot
committed
fix: variable resolution (#901)
Co-authored-by: Markus Schubert <[email protected]> Co-authored-by: pyansys-ci-bot <[email protected]>
1 parent 9c3c559 commit 6df5967

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

doc/source/changelog/901.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Variable resolution

tests-pytest/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -367,8 +367,8 @@ runs:
367367
PYTEST_RUN: ${{ steps.pytest-run-command.outputs.PYTEST_RUN }}
368368
ACTIVATE_VENV: ${{ steps.virtual-environment-activation-command.outputs.ACTIVATE_VENV }}
369369
run: |
370-
$ACTIVATE_VENV
371-
$PYTEST_RUN $PYTEST_MARKERS $PYTEST_EXTRA_ARGS $PYTEST_POST_ARGS
370+
${ACTIVATE_VENV}
371+
eval "${PYTEST_RUN} ${PYTEST_MARKERS} ${PYTEST_EXTRA_ARGS} ${PYTEST_POST_ARGS}"
372372
373373
- name: "Executing test suite using xvfb"
374374
if: inputs.requires-xvfb == 'true'
@@ -380,5 +380,5 @@ runs:
380380
PYTEST_RUN: ${{ steps.pytest-run-command.outputs.PYTEST_RUN }}
381381
ACTIVATE_VENV: ${{ steps.virtual-environment-activation-command.outputs.ACTIVATE_VENV }}
382382
run: |
383-
$ACTIVATE_VENV
384-
xvfb-run ${PYTEST_RUN} ${PYTEST_MARKERS} ${PYTEST_EXTRA_ARGS} ${PYTEST_POST_ARGS}
383+
${ACTIVATE_VENV}
384+
eval "xvfb-run ${PYTEST_RUN} ${PYTEST_MARKERS} ${PYTEST_EXTRA_ARGS} ${PYTEST_POST_ARGS}"

0 commit comments

Comments
 (0)