Skip to content

Merge pull request #121 from gyrostable/deploy-sfrax-opti #1

Merge pull request #121 from gyrostable/deploy-sfrax-opti

Merge pull request #121 from gyrostable/deploy-sfrax-opti #1

Workflow file for this run

name: Solidity CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: actions/checkout@v2
- name: Use Python 3.9.16
uses: actions/setup-python@v2
with:
python-version: 3.9.16
- name: Install black
run: pip install black
- name: Install Dependencies
run: yarn
- name: Lint Contracts
run: yarn run lint
scripts:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
- name: Run 2CLP scripts
run: rm -rf build/contracts build/interfaces && brownie run scripts/show_gas_usage_2clp.py
- name: Run 3CLP scripts
run: rm -rf build/contracts build/interfaces && brownie run scripts/show_gas_usage_3clp.py
- name: Run ECLP scripts
run: rm -rf build/contracts build/interfaces && brownie run scripts/show_gas_usage_eclp.py
unit_test:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
- name: Run Unit Tests
run: brownie test -m 'not hypothesis'
property_test:
runs-on: ubuntu-latest
timeout-minutes: 180
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
- name: Run property Tests
run: brownie test --hypothesis-seed=42 --failfast -m hypothesis