Skip to content

add GDA to CI

add GDA to CI #657

Workflow file for this run

name: Dev CI/CD
on:
push:
branches:
- '*'
jobs:
build:
name: Build and test of feature branch
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Show contexts
run: |
echo github.event_name: ${{ github.event_name }}
echo github.sha: ${{ github.sha }}
echo github.repository: ${{ github.repository }}
echo github.ref: ${{ github.ref }}
echo github.head_ref: ${{ github.head_ref }}
echo github.base_ref: ${{ github.base_ref }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
registry-url: "https://npm.pkg.github.com"
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Install, lint & build
run: |
yarn install
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: run node unit tests
run: |
npx mocha test/unit-tests/*.js
- name: run node integration test
run: |
npx mocha -t 1000000 test/integration/node.integration.test.js
- name: run gas integration test
run: |
npx mocha -t 1000000 test/integration/gas.integration.test.js
- name: run ida integration test
run: |
npx mocha -t 1000000 test/integration/ida.integration.test.js
- name: run cfa integration test
run: |
npx mocha -t 1000000 test/integration/cfa.integration.test.js
- name: run gda integration test
run: |
npx mocha -t 1000000 test/integration/gda.integration.test.js
- name: run batch liquidations integration test
run: |
npx mocha -t 1000000 test/integration/batch.integration.test.js