From f7f91717f04a593578c2443a5fc887b3ce0d399f Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Thu, 6 Jul 2023 18:29:05 +0800 Subject: [PATCH] ci --- .gitea/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index b4b09da..640e66a 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -21,7 +21,8 @@ jobs: - name: "Run DB container" run: | set -x - docker -l debug compose -f test/compose.yml up --wait + docker -l debug compose -f test/compose.yml up --wait & + wait $! go test -v ./... # - name: "Run tests" # run: go test -v ./... @@ -44,6 +45,7 @@ jobs: run: | mkdir -p _dev/.ssh echo "${{ secrets.CI_SSH_PRIVATE_KEY }}" > _dev/.ssh/id_rsa + chmod 0600 _dev/.ssh/id_rsa ssh-keyscan git.vdb.to >> _dev/.ssh/known_hosts echo '[url "ssh://git@git.vdb.to"] insteadOf = https://git.vdb.to' > _dev/.gitconfig cp -r _dev ../plugeth/