From 5e4cf2f3dae5c6a2a37ba18327bfa3caae3db7a1 Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Tue, 17 Dec 2019 08:48:20 +1100 Subject: [PATCH] Add simulator to CI (#723) * Add simulator to CI * Install ganache before running sim --- .github/workflows/test-suite.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 282931a90..5b36f010f 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -49,3 +49,12 @@ jobs: - uses: actions/checkout@v1 - name: Build the root Dockerfile run: docker build . + simulator-ubuntu: + runs-on: ubuntu-latest + needs: cargo-fmt + steps: + - uses: actions/checkout@v1 + - name: Install ganache-cli + run: sudo npm install -g ganache-cli + - name: Run the beacon chain sim + run: cargo run --release --bin beacon_chain_sim