Merge pull request #241 from rust-ethereum/sp-release-100-alpha1 #569
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: Run tests | |
run: | | |
cargo run --release --verbose -p jsontests -- \ | |
jsontests/res/ethtests/GeneralStateTests/stArgsZeroOneBalance/ \ | |
jsontests/res/ethtests/GeneralStateTests/stCodeCopyTest/ \ | |
jsontests/res/ethtests/GeneralStateTests/stExample/ \ | |
jsontests/res/ethtests/GeneralStateTests/stSelfBalance \ | |
jsontests/res/ethtests/GeneralStateTests/stSLoadTest/ \ | |
jsontests/res/ethtests/GeneralStateTests/VMTests/vmArithmeticTest/ \ | |
jsontests/res/ethtests/GeneralStateTests/VMTests/vmBitwiseLogicOperation/ \ | |
jsontests/res/ethtests/GeneralStateTests/VMTests/vmIOandFlowOperations/ \ | |
jsontests/res/ethtests/GeneralStateTests/VMTests/vmLogTest/ \ | |
jsontests/res/ethtests/GeneralStateTests/VMTests/vmTests/ | |