Commit ABI to the repository #2187
Workflow file for this run
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: Build and test | |
on: [push, pull_request] | |
env: | |
NODE_VERSION: 18 | |
PYTHON_VERSION: 3.9 | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
PRODUCTION: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
cache: 'pip' | |
- name: Set up NODE JS | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
cache: 'yarn' | |
- name: Install project | |
run: yarn install | |
- name: Install slither | |
run: pip3 install -r scripts/requirements.txt | |
- name: Show slither version | |
run: slither --version | |
- name: Lint | |
run: yarn fullcheck | |
- name: Test deployment | |
run: ./scripts/test_deploy.sh | |
- name: Test upgrade | |
run: ./scripts/test_upgrade.sh | |
- name: Test ABI generation | |
run: npx hardhat run scripts/generateAbi.ts | |
- name: Run tests | |
run: ./scripts/coverage.sh | |