Skip to content

Commit

Permalink
Added --build flag for integration tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
vvuwei committed Mar 29, 2023
1 parent 6543a6a commit b4dfce4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ test:
go test ./...

integration-test:
docker-compose -f docker-compose.test.yml up -d
#docker volume prune -f
docker-compose -f docker-compose.test.yml up -d --build
until </dev/tcp/localhost/8080; do sleep 15; done
cd cmd/metadata && INTEGRATION=true HASURA_HOST=127.0.0.1 HASURA_PORT=8080 bash -c 'go1.19 test -v -timeout=15s -run TestIntegration_HasuraMetadata' || true
docker-compose -f docker-compose.test.yml down -v

0 comments on commit b4dfce4

Please sign in to comment.