From 9e72979aeb4f6ee1fc10a7383ce7d678f9b3edd3 Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Thu, 6 Jul 2023 18:06:34 +0800 Subject: [PATCH] ci --- .gitea/workflows/test.yml | 9 ++++++--- scripts/integration-setup.sh | 3 +-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 2148e89..b4b09da 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -19,9 +19,12 @@ jobs: go-version-file: 'go.mod' check-latest: true - name: "Run DB container" - run: docker -l debug compose -f test/compose.yml up --wait - - name: "Run tests" - run: go test -v ./... + run: | + set -x + docker -l debug compose -f test/compose.yml up --wait + go test -v ./... + # - name: "Run tests" + # run: go test -v ./... integration-tests: name: "Run integration tests" diff --git a/scripts/integration-setup.sh b/scripts/integration-setup.sh index 579188d..8539538 100755 --- a/scripts/integration-setup.sh +++ b/scripts/integration-setup.sh @@ -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 $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 \ - --branches-file ./test/stack-refs.txt \ - --git-ssh + --branches-file ./test/stack-refs.txt $laconic_so build-containers \ --exclude cerc/ipld-eth-server,cerc/keycloak,cerc/tx-spammer,cerc/foundry