Skip to content

Integrate jsontests to CI #502

Integrate jsontests to CI

Integrate jsontests to CI #502

Workflow file for this run

name: Rust
on:
push:
branches: [ master, next ]
pull_request:
branches: [ master, next ]
env:
CARGO_TERM_COLOR: always
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Rustfmt
run: cargo fmt --all -- --check
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
jsontests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2
with:
path: jsontests/res/ethtests
repository: ethereum/tests
ref: 428f218d7d6f4a52544e12684afbfe6e2882ffbf
- name: Test CI
run: ls jsontests/res/ethtests
- name: Run tests
run: cargo run --release --verbose -p jsontests -- jsontests/res/ethtests/GeneralStateTests/stExample/add11.json