debug compose host
Some checks failed
Test / Run unit tests (pull_request) Failing after 1m51s
Test / Run integration tests (pull_request) Has started running

This commit is contained in:
Roy Crihfield 2023-07-12 15:50:02 +08:00
parent c1f5689b15
commit df0e68abb2

View File

@ -26,12 +26,13 @@ jobs:
git config --global url."https://$TOKEN:@git.vdb.to/".insteadOf "https://git.vdb.to/"
- name: "Run DB container"
env:
DATABASE_HOSTNAME: gitea.local
DATABASE_HOSTNAME: 127.0.0.1
run: |
set -x
docker compose -f test/compose.yml up --attach ipld-eth-db &
sleep 60
docker ps
nc -v $DATABASE_HOSTNAME 8077
go test -v ./...
# - name: "Run tests"
# run: go test -v ./...