We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ca2d3c commit f9e22cbCopy full SHA for f9e22cb
test/e2e/run_tests.sh
@@ -55,7 +55,18 @@ echo ""
55
56
# Run the tests
57
cd "$(dirname "$0")"
58
-if ginkgo run --timeout="$TEST_TIMEOUT" --vv --show-node-events --trace .; then
+
59
+# Build ginkgo command with conditional GitHub output flag
60
+GINKGO_CMD="ginkgo run --timeout=\"$TEST_TIMEOUT\""
61
+if [ -n "$GITHUB_ACTIONS" ]; then
62
+ echo -e "${GREEN}✓${NC} GitHub Actions detected, enabling GitHub output format"
63
+ GINKGO_CMD="$GINKGO_CMD --github-output"
64
+else
65
+ GINKGO_CMD="$GINKGO_CMD --vv --show-node-events --trace"
66
+fi
67
+GINKGO_CMD="$GINKGO_CMD ."
68
69
+if eval "$GINKGO_CMD"; then
70
echo ""
71
echo -e "${GREEN}✓ All E2E tests passed!${NC}"
72
exit 0
0 commit comments