Skip to content

Rename the step

Rename the step #2186

Workflow file for this run

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