Skip to content

Commit

Permalink
now test from the db
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdoupe committed Sep 2, 2023
1 parent 93bcf74 commit 0cd4ad8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@ jobs:
- name: Wait for db to be ready
run: |
docker exec dojo docker exec ctfd apt update
docker exec dojo docker exec ctfd apt install wget
until docker exec dojo docker exec ctfd wget db:3306
until docker exec dojo docker exec db mysql -h localhost -u ctfd -pctfd ctfd
do
sleep 5
docker exec dojo docker logs db | tail -n 5
Expand Down

0 comments on commit 0cd4ad8

Please sign in to comment.