Add to CI file

This commit is contained in:
Paul Hauner
2019-11-22 18:10:36 +11:00
parent e08aa4b61f
commit adaf976a1d

View File

@@ -1,19 +1,33 @@
name: Test Suite name: test-suite
on: [push] on: [push]
jobs: jobs:
release-tests: release-tests-ubuntu:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Run release tests with all features - name: Install ganache-cli
run: cargo test --release --all --all-features --exclude ef_tests run: npm install -g ganache-cli
debug-tests: - name: Run release tests
run: cargo test --release --all
debug-tests-ubuntu:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Run debug tests with all features - name: Install ganache-cli
run: cargo test --all --all-features --exclude ef_tests run: npm install -g ganache-cli
- name: Run debug tests & check formatting
run: cargo test --all
- name: Check formatting with cargo fmt - name: Check formatting with cargo fmt
run: cargo fmt --all -- check run: cargo fmt --all -- check
ef-tests-ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Download test vectors
run: make make-ef-tests
- name: Run eth2.0-spec-tests without fake_crypto
run: cargo test --manifest-path tests/ef_tests/Cargo.toml --release --features ef_tests
- name: Run eth2.0-spec-tests with fake_crypto
run: cargo test --manifest-path tests/ef_tests/Cargo.toml --release --features ef_tests,fake_crypto