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:
5656 echo "## BDD Test Results" >> $GITHUB_STEP_SUMMARY
5757 echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
5858 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 =$?
6060 cat bdd_output.txt >> $GITHUB_STEP_SUMMARY
6161 echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
6262
63- if [ $bdd_exit_code -eq 0 ]; then
63+ if [ $bdd_result -eq 0 ]; then
6464 echo "✅ BDD tests passed" >> $GITHUB_STEP_SUMMARY
6565 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
6768 fi
6869
6970 # Stop the service regardless of test outcome
7071 docker compose -f docker-compose.yml -f docker-compose.ci.yml stop staging
7172
72- # Exit with the test result (don't fail on BDD tests for now)
73+ # Exit with the test result
7374 exit $exit_code
You can’t perform that action at this time.
0 commit comments