Skip to content

Commit

Permalink
Merge pull request #416 from bounswe/backend-fix-tests
Browse files Browse the repository at this point in the history
Update test.sh
  • Loading branch information
sonerkuyar authored Dec 16, 2024
2 parents bd7fcc5 + 979ea62 commit ba9f175
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions app/backend/test.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
#!/bin/bash

apps=("v1.apps.posts" "v1.apps.games" "v1.apps.accounts" "v1.apps.healthcheck")
apps=("v1.apps.posts" "v1.apps.games" "v1.apps.accounts" "v1.apps.healthcheck" "v1.apps.puzzle")

for app in "${apps[@]}"; do
echo "Testing $app..."
python manage.py test $app --keepdb
if [ $? -ne 0 ]; then
echo "Tests failed for $app"
exit 1
echo "❌ Tests failed for $app"
else
echo "✅ Tests passed for $app"
fi
done

echo "All tests passed successfully!"
echo "🟢 All tests completed. Check individual test results for failures."

0 comments on commit ba9f175

Please sign in to comment.