Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ permissions: read-all
jobs:
analyze:
name: Analyze
runs-on: depot-ubuntu-24.04-8
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/jsonrpc-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
if: ${{ !startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/main' }}

jsonrpc-compatibility-test:
runs-on: depot-ubuntu-22.04-8
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- uses: actions/setup-go@v5
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ permissions: read-all
jobs:
golangci:
name: Run golangci-lint
runs-on: depot-ubuntu-24.04-8
timeout-minutes: 15
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/setup-go@v5
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/main'"

test-unit-cover:
runs-on: depot-ubuntu-24.04-16
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
with:
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
if: env.GIT_DIFF

test-fuzz:
runs-on: depot-ubuntu-24.04-4
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
with:
Expand Down
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -132,24 +132,24 @@ PACKAGES_UNIT := $(shell go list ./... | grep -v '/tests/e2e$$' | grep -v '/simu
PACKAGES_EVMD := $(shell cd evmd && go list ./... | grep -v '/simulation')
COVERPKG_EVM := $(shell go list ./... | grep -v '/tests/e2e$$' | grep -v '/simulation' | paste -sd, -)
COVERPKG_ALL := $(COVERPKG_EVM)
COMMON_COVER_ARGS := -timeout=15m -covermode=atomic
COMMON_COVER_ARGS := -timeout=30m -covermode=atomic

TEST_PACKAGES := ./...
TEST_TARGETS := test-unit test-evmd test-unit-cover test-race

test-unit: ARGS=-timeout=15m
test-unit: ARGS=-timeout=30m
test-unit: TEST_PACKAGES=$(PACKAGES_UNIT)
test-unit: run-tests

test-race: ARGS=-race
test-race: TEST_PACKAGES=$(PACKAGES_UNIT)
test-race: run-tests

test-evmd: ARGS=-timeout=15m
test-evmd: ARGS=-timeout=30m
test-evmd:
@cd evmd && go test -race -tags=test -mod=readonly $(ARGS) $(EXTRA_ARGS) $(PACKAGES_EVMD)

test-unit-cover: ARGS=-timeout=15m -coverprofile=coverage.txt -covermode=atomic
test-unit-cover: ARGS=-timeout=30m -coverprofile=coverage.txt -covermode=atomic
test-unit-cover: TEST_PACKAGES=$(PACKAGES_UNIT)
test-unit-cover: run-tests
@echo "🔍 Running evm (root) coverage..."
Expand All @@ -167,9 +167,9 @@ test: test-unit

test-all:
@echo "🔍 Running evm module tests..."
@go test -race -tags=test -mod=readonly -timeout=15m $(PACKAGES_NOSIMULATION)
@go test -race -tags=test -mod=readonly -timeout=30m $(PACKAGES_NOSIMULATION)
@echo "🔍 Running evmd module tests..."
@cd evmd && go test -race -tags=test -mod=readonly -timeout=15m $(PACKAGES_EVMD)
@cd evmd && go test -race -tags=test -mod=readonly -timeout=30m $(PACKAGES_EVMD)

run-tests:
ifneq (,$(shell which tparse 2>/dev/null))
Expand Down Expand Up @@ -216,7 +216,7 @@ lint: lint-go lint-python lint-contracts
lint-go:
@echo "--> Running linter"
@go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@$(golangci_version)
@$(golangci_lint_cmd) run --timeout=15m
@$(golangci_lint_cmd) run --timeout=30m

lint-python:
find . -name "*.py" -type f -not -path "*/node_modules/*" | xargs pylint
Expand All @@ -227,7 +227,7 @@ lint-contracts:

lint-fix:
@go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@$(golangci_version)
@$(golangci_lint_cmd) run --timeout=15m --fix
@$(golangci_lint_cmd) run --timeout=30m --fix

lint-fix-contracts:
solhint --fix contracts/**/*.sol
Expand Down
Loading