Skip to content

Commit 552bde8

Browse files
PatStLouisCopilot
andauthored
Update .github/actions/run-integration-tests/action.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Patrick St-Louis <43082425+PatStLouis@users.noreply.github.com>
1 parent 6318d3b commit 552bde8

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/actions/run-integration-tests/action.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,15 @@ runs:
2020
- name: run-integration-tests-acapy
2121
# to run with external ledger and tails server run as follows (and remove the ledger and tails actions from the workflow):
2222
# run: LEDGER_URL=... PUBLIC_TAILS_URL=... ./run_bdd $TEST_SCOPE
23-
run: ./run_bdd $TEST_SCOPE
23+
run: |
24+
set -euo pipefail
25+
if [ -n "${TEST_SCOPE-}" ]; then
26+
# Split TEST_SCOPE on whitespace into an argv-safe array
27+
read -r -a scope_args <<< "$TEST_SCOPE"
28+
./run_bdd "${scope_args[@]}"
29+
else
30+
./run_bdd
31+
fi
2432
shell: bash
2533
env:
2634
TEST_SCOPE: ${{ inputs.TEST_SCOPE }}

0 commit comments

Comments
 (0)