diff --git a/tests/fulltests/test.sh b/tests/fulltests/test.sh index a1bde85c..db99943f 100755 --- a/tests/fulltests/test.sh +++ b/tests/fulltests/test.sh @@ -16,6 +16,7 @@ fullMinecraftUpTest(){ --attach-dependencies --always-recreate-deps --abort-on-container-failure + -e GH_TOKEN="${GH_TOKEN:-}" ) if ! docker compose -f "$file" up "${upArgs[@]}" monitor; then echo "$(dirname "$file") Result: failed" diff --git a/tests/setuponlytests/test.sh b/tests/setuponlytests/test.sh index 4c759e79..b776cd82 100755 --- a/tests/setuponlytests/test.sh +++ b/tests/setuponlytests/test.sh @@ -46,7 +46,7 @@ setupOnlyMinecraftTest(){ start=$(date +%s) status=PASSED verify= - if ! logs=$(docker compose run --rm -e SETUP_ONLY=true -e DEBUG="${DEBUG:-false}" mc 2>&1); then + if ! logs=$(docker compose run --rm -e SETUP_ONLY=true -e DEBUG="${DEBUG:-false}" -e GH_TOKEN="${GH_TOKEN:-}" mc 2>&1); then status=FAILED outputContainerLog "$logs" result=1