mirror of
https://github.com/aimingmed/aimingmed-ai.git
synced 2026-02-01 04:03:18 +08:00
test
This commit is contained in:
parent
de100b02a3
commit
c90b5af6c1
3
.github/workflows/template_test.yml
vendored
3
.github/workflows/template_test.yml
vendored
@ -161,12 +161,13 @@ jobs:
|
||||
# Prepare environment variables for docker run
|
||||
ENV_ARGS=""
|
||||
if [[ "$TEST_ENVS_JSON" != "[]" ]]; then
|
||||
# Convert JSON array string to individual env vars
|
||||
while IFS= read -r line; do
|
||||
ENV_ARGS+=" -e \"$line\""
|
||||
done <<< $(echo "$TEST_ENVS_JSON" | jq -r '.[]')
|
||||
else
|
||||
# Add a dummy env var if none are provided, as required by original script logic
|
||||
ENV_ARGS+=" -e DUMMY_ENV_TEST_RUN_ID=${{ github.run_id }}"
|
||||
ENV_ARGS+=" -e DUMMY_ENV_TEST_RUN_ID=${{ github.run_id }}"
|
||||
fi
|
||||
echo "Env args: $ENV_ARGS" # Debugging
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user