mirror of
https://github.com/aimingmed/aimingmed-ai.git
synced 2026-02-08 16:37:29 +08:00
test
This commit is contained in:
parent
de100b02a3
commit
c90b5af6c1
1
.github/workflows/template_test.yml
vendored
1
.github/workflows/template_test.yml
vendored
@ -161,6 +161,7 @@ jobs:
|
|||||||
# Prepare environment variables for docker run
|
# Prepare environment variables for docker run
|
||||||
ENV_ARGS=""
|
ENV_ARGS=""
|
||||||
if [[ "$TEST_ENVS_JSON" != "[]" ]]; then
|
if [[ "$TEST_ENVS_JSON" != "[]" ]]; then
|
||||||
|
# Convert JSON array string to individual env vars
|
||||||
while IFS= read -r line; do
|
while IFS= read -r line; do
|
||||||
ENV_ARGS+=" -e \"$line\""
|
ENV_ARGS+=" -e \"$line\""
|
||||||
done <<< $(echo "$TEST_ENVS_JSON" | jq -r '.[]')
|
done <<< $(echo "$TEST_ENVS_JSON" | jq -r '.[]')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user