Skip to content

Merge pull request #43 from usePicnic/bug/adjusting-gamma-whitelist #638

Merge pull request #43 from usePicnic/bug/adjusting-gamma-whitelist

Merge pull request #43 from usePicnic/bug/adjusting-gamma-whitelist #638

Workflow file for this run

name: lint+compile+test
on:
push
jobs:
coverage:
name: test
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v1
- name: setup-node
uses: actions/setup-node@v1
with:
node-version: '14.x'
- name: install yarn
run: npm install yarn
- name: install packages
run: yarn
- name: lint
run: yarn lint
- name: compile
run: yarn compile
env:
COINMARKETCAP_KEY: ${{ secrets.COINMARKETCAP_KEY }}
INFURA_KEY: ${{ secrets.INFURA_KEY }}
POLYGON_TEST_MNEMONIC: ${{ secrets.POLYGON_TEST_MNEMONIC }}
- name: test
run: yarn test
env:
COINMARKETCAP_KEY: ${{ secrets.COINMARKETCAP_KEY }}
INFURA_KEY: ${{ secrets.INFURA_KEY }}
POLYGON_TEST_MNEMONIC: ${{ secrets.POLYGON_TEST_MNEMONIC }}
- name: coverage
run: yarn run coverage
env:
COINMARKETCAP_KEY: ${{ secrets.COINMARKETCAP_KEY }}
INFURA_KEY: ${{ secrets.INFURA_KEY }}
POLYGON_TEST_MNEMONIC: ${{ secrets.POLYGON_TEST_MNEMONIC }}
- name: "Upload report to Coveralls"
uses: "coverallsapp/github-action@master"
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: "./coverage/lcov.info"