From 1a0a306bb6219eacfdc7c1e18f15837c2401f5c7 Mon Sep 17 00:00:00 2001 From: Mathis Date: Wed, 29 Nov 2023 16:39:09 +0100 Subject: [PATCH] Run CI on integration branch (#17) * Run CI on integration branch * CI: separate build and test-go-deps steps * CI: set timeout to 20min for challeng tests They often take more than 10 minutes (which is the default). --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f406c6a209..b3718926f6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,7 @@ on: branches: - master - develop + - integration jobs: test: @@ -126,7 +127,10 @@ jobs: run: ./scripts/build-brotli.sh -w -d - name: Build - run: make build test-go-deps -j + run: make build -j + + - name: test-go-deps + run: make --debug test-go-deps - name: Build all lint dependencies run: make -j build-node-deps @@ -169,7 +173,7 @@ jobs: if: matrix.test-mode == 'challenge' run: | packages=`go list ./...` - gotestsum --format short-verbose --packages="$packages" --rerun-fails=1 -- ./... -coverprofile=coverage.txt -covermode=atomic -coverpkg=./...,./go-ethereum/... -tags=challengetest -run=TestChallenge + gotestsum --format short-verbose --packages="$packages" --rerun-fails=1 -- -timeout 20m ./... -coverprofile=coverage.txt -covermode=atomic -coverpkg=./...,./go-ethereum/... -tags=challengetest -run=TestChallenge - name: Upload coverage to Codecov uses: codecov/codecov-action@v2