ci
Some checks failed
Test / Run unit tests (pull_request) Failing after 51s
Test / Run integration tests (pull_request) Failing after 11m25s

This commit is contained in:
Roy Crihfield 2023-07-06 18:06:34 +08:00
parent cb301a9429
commit 9e72979aeb
2 changed files with 7 additions and 5 deletions

View File

@ -19,9 +19,12 @@ 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: docker -l debug compose -f test/compose.yml up --wait run: |
- name: "Run tests" set -x
run: go test -v ./... docker -l debug compose -f test/compose.yml up --wait
go test -v ./...
# - name: "Run tests"
# run: go test -v ./...
integration-tests: integration-tests:
name: "Run integration tests" name: "Run integration tests"

View File

@ -16,8 +16,7 @@ echo CERC_STATEDIFF_DB_GOOSE_MIN_VER=18 >> $CONFIG_DIR/stack.env
# Build and deploy a cluster with only what we need from the stack # Build and deploy a cluster with only what we need from the stack
$laconic_so setup-repositories \ $laconic_so setup-repositories \
--exclude github.com/dboreham/foundry,github.com/cerc-io/tx-spammer,github.com/cerc-io/ipld-eth-server,git.vdb.to/cerc-io/plugeth,git.vdb.to/cerc-io/plugeth-statediff \ --exclude github.com/dboreham/foundry,github.com/cerc-io/tx-spammer,github.com/cerc-io/ipld-eth-server,git.vdb.to/cerc-io/plugeth,git.vdb.to/cerc-io/plugeth-statediff \
--branches-file ./test/stack-refs.txt \ --branches-file ./test/stack-refs.txt
--git-ssh
$laconic_so build-containers \ $laconic_so build-containers \
--exclude cerc/ipld-eth-server,cerc/keycloak,cerc/tx-spammer,cerc/foundry --exclude cerc/ipld-eth-server,cerc/keycloak,cerc/tx-spammer,cerc/foundry