added fund flow controller to test setup script #479
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push] | |
jobs: | |
ci: | |
name: Lint & Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repo | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: actions/cache@v3 | |
with: | |
path: "**/node_modules" | |
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} | |
- name: Install Yarn dependencies | |
run: yarn install | |
- name: Run solhint | |
run: yarn solhint | |
- name: Run prettier | |
run: yarn prettier | |
- name: Hardhat clean | |
run: npx hardhat clean | |
- name: Compile contracts | |
run: yarn compile | |
- name: Run tests | |
env: | |
ETHEREUM_RPC_URL: ${{ secrets.ETHEREUM_RPC_URL }} | |
run: | | |
yarn test |