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" - name: "Run DB container"
run: | run: |
set -x 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 ./... go test -v ./...
# - name: "Run tests" # - name: "Run tests"
# run: go test -v ./... # run: go test -v ./...
@ -44,6 +45,7 @@ jobs:
run: | run: |
mkdir -p _dev/.ssh mkdir -p _dev/.ssh
echo "${{ secrets.CI_SSH_PRIVATE_KEY }}" > _dev/.ssh/id_rsa 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 ssh-keyscan git.vdb.to >> _dev/.ssh/known_hosts
echo '[url "ssh://git@git.vdb.to"] insteadOf = https://git.vdb.to' > _dev/.gitconfig echo '[url "ssh://git@git.vdb.to"] insteadOf = https://git.vdb.to' > _dev/.gitconfig
cp -r _dev ../plugeth/ cp -r _dev ../plugeth/