Skip to content

Commit

Permalink
fix: allow containers start up before testing endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
osundwajeff committed Jan 26, 2024
1 parent 0cb1bfb commit 5959dfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
cp .example.env .env
sed -i 's/context: deployment\/docker-s3-bucket/context: .\n dockerfile: .\/deployment\/docker-s3-bucket\/Dockerfile/' docker-compose.yml
docker compose build
docker compose up -d db; sleep 180; docker compose up -d
docker compose up -d db; sleep 180; docker compose up -d; sleep 120
- name: Test django endpoint
run: |
curl http://localhost:61122/
Expand Down

0 comments on commit 5959dfd

Please sign in to comment.