Skip to content

Commit

Permalink
More CI debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
martyngigg committed Mar 19, 2024
1 parent 88a4c9f commit 80a4562
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions run_web_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,17 @@ else
echo "Running tests using an existing environment file..."
fi

whoami
id
ls -l
if [[ -z $(docker-compose ps --quiet --filter status=running $DJANGO_SERVICE_NAME) ]]; then
echo "Booting services."
./bin/boot.sh
CLEAN_SERVICES=true
else
echo "Services already running.."
fi
ls -l

echo "Executing web tests..."
docker-compose exec $DJANGO_SERVICE_NAME sh -c "python manage.py test $@"
Expand Down

0 comments on commit 80a4562

Please sign in to comment.