Skip to content

Commit

Permalink
Run CI on integration branch (#17)
Browse files Browse the repository at this point in the history
* 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).
  • Loading branch information
sveitser authored Nov 29, 2023
1 parent a6c860c commit 1a0a306
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
branches:
- master
- develop
- integration

jobs:
test:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1a0a306

Please sign in to comment.