Skip to content

Commit f12b076

Browse files
committed
last thing
1 parent dac4253 commit f12b076

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/actions/test-downstream/action.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ runs:
2323
pytest_args="${{inputs.pytest_args}}"
2424
pytest_args=${pytest_args:-"--pyargs ${{inputs.package_name}}"}
2525
env_values=${{ inputs.env_values }}
26-
env_values=${env_values:-"FIZZ=BUZZ"}
2726
2827
# Set up venv
2928
python -m venv test_venv
@@ -33,8 +32,10 @@ runs:
3332
${bin_dir}/python -m pip install . --force-reinstall
3433
3534
# Test the downstream package
36-
eval ${env_values}
37-
echo ${FIZZ}
35+
if [ -z ${env_values} ]; then
36+
eval ${env_values}
37+
fi
38+
3839
${bin_dir}/pytest ${pytest_args}
3940
4041
# Cleanup

0 commit comments

Comments
 (0)