Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E2E Testing DGK with Signature Bridge (Phase 1) #156

Merged
merged 21 commits into from
Feb 17, 2022
Merged
50 changes: 50 additions & 0 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: End To End Testing

# on PRs & and when they are merged run the following jobs:
on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
e2e:
runs-on: ubuntu-20.04
steps:
- name: Checkout Code
uses: actions/checkout@v2
with:
submodules: "recursive"

- name: Cache cargo registry
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}

- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly

- name: Build Standalone Node for Integration Tests (Release)
run: cargo build --release -p dkg-standalone-node --features integration-tests

- name: Install Nodejs
uses: actions/setup-node@v2
with:
node-version-file: "./dkg-test-suite/.nvmrc"
cache: "yarn"
cache-dependency-path: "./dkg-test-suite/yarn.lock"

- name: Install Packages
run: cd dkg-test-suite && yarn

- name: Run E2E Tests
run: cd dkg-test-suite && yarn test
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "dkg-test-suite/protocol-solidity-fixtures"]
path = dkg-test-suite/protocol-solidity-fixtures
url = https://github.com/webb-tools/protocol-solidity-fixtures.git
Loading