mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-14 18:32:42 +00:00
38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
name: test-suite
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
cargo-fmt-lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Check formatting with cargo fmt
|
|
run: cargo fmt --all -- --check
|
|
release-tests-ubuntu:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Install ganache-cli
|
|
run: sudo npm install -g ganache-cli
|
|
- name: Run tests in release
|
|
run: cargo test --release --all
|
|
debug-tests-ubuntu:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Install ganache-cli
|
|
run: sudo npm install -g ganache-cli
|
|
- name: Run tests in debug
|
|
run: cargo test --all
|
|
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
|