ci
Some checks failed
Test / Run unit tests (pull_request) Failing after 53s
Test / Run integration tests (pull_request) Failing after 9m1s

This commit is contained in:
Roy Crihfield 2023-07-06 18:29:05 +08:00
parent 9e72979aeb
commit f7f91717f0

View File

@ -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/