ci
Some checks failed
Test / Run unit tests (pull_request) Failing after 52s
Test / Run integration tests (pull_request) Failing after 18s

This commit is contained in:
Roy Crihfield 2023-07-06 21:02:39 +08:00
parent 1005a8f5d8
commit dee59f4e76

View File

@ -19,7 +19,7 @@ jobs:
go-version-file: 'go.mod' go-version-file: 'go.mod'
check-latest: true check-latest: true
- name: "Run DB container" - name: "Run DB container"
run: compose -f test/compose.yml up --wait run: docker compose -f test/compose.yml up --wait
- name: "Run tests" - name: "Run tests"
run: go test -v ./... run: go test -v ./...
@ -40,8 +40,8 @@ jobs:
working-directory: ./plugeth-statediff working-directory: ./plugeth-statediff
run: | run: |
set -ex set -ex
mkdir -p _dev/.ssh
[[ -n "${{ secrets.CI_SSH_PRIVATE_KEY }}" ]] [[ -n "${{ secrets.CI_SSH_PRIVATE_KEY }}" ]]
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 chmod 0600 _dev/.ssh/id_rsa
ssh-keyscan git.vdb.to >> _dev/.ssh/known_hosts ssh-keyscan git.vdb.to >> _dev/.ssh/known_hosts