Skip to content

Deploy contracts to base #2

Deploy contracts to base

Deploy contracts to base #2

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: Install Dependencies
run: yarn
- name: Lint Contracts
run: yarn run lint
unit_test:
runs-on: ubuntu-latest
timeout-minutes: 120
env:
GITHUB_TOKEN: ${{ secrets.GHP_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
- name: Run Unit Tests
run: brownie test -m 'not mainnetFork and not hypothesis and not endToEnd' --failfast --hypothesis-seed 42
property_test:
runs-on: ubuntu-latest
timeout-minutes: 120
env:
GITHUB_TOKEN: ${{ secrets.GHP_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
- name: Run Property Tests
run: brownie test -m 'not mainnetFork and hypothesis and not endToEnd' --failfast --hypothesis-seed 42
integration_test:
runs-on: ubuntu-latest
timeout-minutes: 120
env:
GITHUB_TOKEN: ${{ secrets.GHP_TOKEN }}
WEB3_INFURA_PROJECT_ID: ${{ secrets.WEB3_INFURA_PROJECT_ID }}
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
- name: Run Integration Tests
run: brownie test -m mainnetFork --network mainnet-fork --failfast --hypothesis-seed 42
# end_to_end_test:
# runs-on: ubuntu-latest
# timeout-minutes: 120
# env:
# GITHUB_TOKEN: ${{ secrets.GHP_TOKEN }}
# WEB3_INFURA_PROJECT_ID: ${{ secrets.WEB3_INFURA_PROJECT_ID }}
# COINBASE_API_KEY: ${{ secrets.COINBASE_API_KEY }}
# COINBASE_API_PASSPHRASE: ${{ secrets.COINBASE_API_PASSPHRASE }}
# COINBASE_API_SECRET: ${{ secrets.COINBASE_API_SECRET }}
# steps:
# - uses: actions/checkout@v2
# - uses: ./.github/actions/setup
# - name: Run end to end Tests
# run: brownie test -m endToEnd --network mainnet-fork --failfast --hypothesis-seed 42