This commit is contained in:
Roy Crihfield 2023-09-09 05:54:49 +08:00
parent 5eeeecf667
commit 99ae049c6f
2 changed files with 3 additions and 4 deletions

View File

@ -8,14 +8,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
check-latest: true
- name: "Run DB container"
working-directory: ./test
run: |
docker compose up -d --quiet-pull
run: docker compose up --wait --quiet-pull
- name: "Build and run tests"
run: |
until [[ "$(docker inspect test-ipld-eth-db | jq -r '.[0].State.Status')" = 'running' ]]

View File

@ -1,4 +1,4 @@
# Containers to run backing DB for unit testing
# Containers to run backing DB for testing
services:
migrations: