Skip to content

Implementing Multisig into Bridge contract #129

Implementing Multisig into Bridge contract

Implementing Multisig into Bridge contract #129

Workflow file for this run

name: Test
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- name: Checkout code
uses: actions/[email protected]
- uses: actions/[email protected]
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: make install-deps
- name: Ganache Tests
run: |
SILENT=true make start-ganache
make test
coverage:
name: Coverage
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
- name: NPM install
run: npm install
- name: Run coverage
run: ./node_modules/.bin/truffle run coverage -solcoverjs ./scripts/.solcover.js --network test
- name: Coverall
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}