File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -56,18 +56,19 @@ jobs:
56
56
echo "## BDD Test Results" >> $GITHUB_STEP_SUMMARY
57
57
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
58
58
docker compose -f docker-compose.yml -f docker-compose.ci.yml run test 2>&1 | tee bdd_output.txt
59
- bdd_exit_code =$?
59
+ bdd_result =$?
60
60
cat bdd_output.txt >> $GITHUB_STEP_SUMMARY
61
61
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
62
62
63
- if [ $bdd_exit_code -eq 0 ]; then
63
+ if [ $bdd_result -eq 0 ]; then
64
64
echo "✅ BDD tests passed" >> $GITHUB_STEP_SUMMARY
65
65
else
66
- echo "⚠️ BDD tests failed (this is expected as step definitions are not yet implemented)" >> $GITHUB_STEP_SUMMARY
66
+ echo "❌ BDD tests failed" >> $GITHUB_STEP_SUMMARY
67
+ exit_code=1
67
68
fi
68
69
69
70
# Stop the service regardless of test outcome
70
71
docker compose -f docker-compose.yml -f docker-compose.ci.yml stop staging
71
72
72
- # Exit with the test result (don't fail on BDD tests for now)
73
+ # Exit with the test result
73
74
exit $exit_code
You can’t perform that action at this time.
0 commit comments