Skip to content

transfer manager doc #5975

transfer manager doc

transfer manager doc #5975

Workflow file for this run

name: CI
on: push
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: "./.github/setup"
- name: Linting
run: yarn lint:ci
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: "./.github/setup"
- name: Formatting
run: yarn format:ci
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: "./.github/setup"
- name: Running tests
run: yarn test:ci
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: "./.github/setup"
- name: Running coverage
run: yarn coverage:ci
- name: Coverage created?
id: check_coverage
run: |
if [ -s $GITHUB_WORKSPACE/coverage/lcov.info ] ; then
echo "check_result=true" >> $GITHUB_OUTPUT
echo "lcov.info FILE exists and has a size greater than zero"
else
echo "check_result=false" >> $GITHUB_OUTPUT
echo "lcov.info does not exists or has size zero"
fi
- name: Report coverage
if: steps.check_coverage.outputs.check_result == 'true'
uses: romeovs/[email protected]
with:
lcov-file: ./coverage/lcov.info
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Enforce coverage
if: steps.check_coverage.outputs.check_result == 'true'
uses: VeryGoodOpenSource/very_good_coverage@v2
with:
path: ./coverage/lcov.info
min_coverage: 80
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: "./.github/setup"
- name: Deploy contracts
run: yarn deploy:ci
env:
ETH_NODE_URI_GOERLI: ${{ secrets.ETH_NODE_URI_GOERLI }}