mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-05 04:31:16 +00:00
Fetch and Run Execution Spec Tests (#252)
## Why this should be merged Execution spec tests (https://github.com/ethereum/execution-spec-tests) and legacy tests https://github.com/ethereum/tests) were not running on the CI. This PR fetches required repositories/releases and enables them on github CI. ## How this works It fetches the https://github.com/ethereum/tests submodule and also the release for https://github.com/ethereum/execution-spec-tests to run them. ## How this was tested UT
This commit is contained in:
parent
c4c2b1ce8d
commit
505c2fbe72
1 changed files with 12 additions and 0 deletions
12
.github/workflows/go.yml
vendored
12
.github/workflows/go.yml
vendored
|
|
@ -22,14 +22,26 @@ jobs:
|
|||
|
||||
go_test_short:
|
||||
env:
|
||||
# See build/checksums.txt for the latest version and checksum
|
||||
EXECUTION_SPEC_TESTS_VERSION: v2.1.0
|
||||
EXECUTION_SPEC_TESTS_FILE: fixtures_develop.tar.gz
|
||||
FLAKY_REGEX: "ava-labs/libevm/(triedb/pathdb|eth|eth/tracers/js|eth/tracers/logger|eth/tracers/internal/tracetest|accounts/abi/bind|accounts/keystore|eth/downloader|miner|ethclient|ethclient/gethclient|eth/catalyst)$"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version-file: "go.mod"
|
||||
- name: Download spec tests
|
||||
run: curl -o "${EXECUTION_SPEC_TESTS_FILE}" -L "https://github.com/ethereum/execution-spec-tests/releases/download/${EXECUTION_SPEC_TESTS_VERSION}/${EXECUTION_SPEC_TESTS_FILE}"
|
||||
- name: Verify spec tests
|
||||
run: |
|
||||
sha256sum --ignore-missing --check build/checksums.txt | grep "${EXECUTION_SPEC_TESTS_FILE}: OK"
|
||||
- name: Extract spec tests
|
||||
run: mkdir -p tests/spec-tests && tar -xz -f "${EXECUTION_SPEC_TESTS_FILE}" -C tests/spec-tests
|
||||
- name: Run flaky tests sequentially
|
||||
run:
|
||||
| # Upstream flakes are race conditions exacerbated by concurrent tests
|
||||
|
|
|
|||
Loading…
Reference in a new issue