diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index a473b6f..11d79e8 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @smartcontractkit/deployment-automation @smartcontractkit/devex-tooling \ No newline at end of file +* @smartcontractkit/devex-tooling diff --git a/.github/workflows/pull-request-main.yml b/.github/workflows/pull-request-main.yml index 175bdd5..25d2a66 100644 --- a/.github/workflows/pull-request-main.yml +++ b/.github/workflows/pull-request-main.yml @@ -31,8 +31,6 @@ jobs: ci-test: name: Tests runs-on: ubuntu-latest - env: - CTF_CONFIGS: /home/runner/work/timelock-worker/timelock-worker/tests/integration/solana/artifacts permissions: id-token: write contents: read diff --git a/.github/workflows/push-main.yml b/.github/workflows/push-main.yml index f2fd126..ec21fb7 100644 --- a/.github/workflows/push-main.yml +++ b/.github/workflows/push-main.yml @@ -38,5 +38,5 @@ jobs: - name: Build and test uses: smartcontractkit/.github/actions/ci-test-go@ci-test-go/0.3.5 with: - go-test-cmd: go test -short -coverprofile=coverage.out -covermode=atomic -race ./... + go-test-cmd: CTF_CONFIGS=./config.toml go test -short -coverprofile=coverage.out -covermode=atomic -race ./... use-go-cache: true diff --git a/tests/containers/geth.go b/tests/containers/geth.go index d1086ef..390aafb 100644 --- a/tests/containers/geth.go +++ b/tests/containers/geth.go @@ -44,16 +44,14 @@ func NewGethContainer(ctx context.Context) (*GethContainer, error) { "--http", "--http.addr", "0.0.0.0", "--http.vhosts", "*", "--ws", "--ws.addr", "0.0.0.0", "--ws.origins", "*", "--cache.blocklogs", "1024", - "--networkid", fmt.Sprintf("%d", chainID), "--datadir", dataDir, }, - // uncomment to print container logs to stdout - // LogConsumerCfg: &testcontainers.LogConsumerConfig{ - // Opts: []testcontainers.LogProductionOption{ - // testcontainers.WithLogProductionTimeout(10 * time.Second), - // }, - // Consumers: []testcontainers.LogConsumer{&StdoutLogConsumer{Prefix: "|| "}}, - // }, + LogConsumerCfg: &testcontainers.LogConsumerConfig{ + Opts: []testcontainers.LogProductionOption{ + testcontainers.WithLogProductionTimeout(10 * time.Second), + }, + Consumers: []testcontainers.LogConsumer{&StdoutLogConsumer{Prefix: "|| "}}, + }, } gethContainer, err := testcontainers.GenericContainer(ctx, testcontainers.GenericContainerRequest{ ContainerRequest: request,