mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
ci: add eth chain test. Set prevrandao after merge (#621)
* Small changes * feat: Add eth chain test to ci. Set prevrandao after merge * Update .github/workflows/ci.yml Co-authored-by: Bjerg <onbjerg@users.noreply.github.com> * move env Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
This commit is contained in:
29
.github/workflows/ci.yml
vendored
29
.github/workflows/ci.yml
vendored
@ -55,6 +55,35 @@ jobs:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
files: lcov.info
|
||||
flags: unit-tests
|
||||
eth-blockchain:
|
||||
name: Ethereum blockchain Tests (Stable)
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
RUST_LOG: info,sync=error
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Checkout ethereum/tests
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
repository: ethereum/tests
|
||||
path: ethtests
|
||||
submodules: recursive
|
||||
|
||||
- name: Install toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
profile: minimal
|
||||
override: true
|
||||
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
with:
|
||||
cache-on-failure: true
|
||||
|
||||
- name: Run Ethereum tests
|
||||
run: cargo run --release -- test-chain ethtests/BlockchainTests/GeneralStateTests/
|
||||
|
||||
fuzz:
|
||||
# Skip the Fuzzing Jobs until we make them run fast and reliably. Currently they will
|
||||
|
||||
Reference in New Issue
Block a user