Skip to content

remove lint check

remove lint check #71

Workflow file for this run

#poetry github actions from : https://jacobian.org/til/github-actions-poetry/
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '14'
- uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
- run: npm install -g ganache-cli
- uses: actions/setup-python@v2
with:
python-version: 3.11
- uses: actions/checkout@v3
- name: Checkout submodules
shell: bash
run: |
git submodule update --recursive --init --remote
- name: cache poetry install
uses: actions/cache@v2
with:
path: ~/.local
key: poetry-1.3.1-0
- uses: snok/install-poetry@v1
with:
version: 1.3.1
virtualenvs-create: true
virtualenvs-in-project: true
- name: cache deps
id: cache-deps
uses: actions/cache@v2
with:
path: .venv
key: pydeps-${{ hashFiles('**/poetry.lock') }}
- run: poetry install --no-interaction --no-root
if: steps.cache-deps.outputs.cache-hit != 'true'
- run: poetry install --no-interaction
- run: touch .env
- name: run test
shell: bash
env:
ETHERSCAN_TOKEN: ${{secrets.ETHERSCAN_TOKEN}}
WEB3_INFURA_PROJECT_ID: ${{secrets.WEB3_INFURA_PROJECT_ID}}
run: |
poetry run brownie networks add development goerli-fork-dev cmd=ganache-cli host=http://127.0.0.1 chain_id=5 fork="https://goerli.infura.io/v3/$WEB3_INFURA_PROJECT_ID" accounts=10 mnemonic=brownie port=8545
poetry run brownie networks modify goerli-fork-dev explorer="https://api-goerli.etherscan.io/api?apikey=$ETHERSCAN_TOKEN"
poetry run brownie test --network goerli-fork-dev
# flake8-lint:
# runs-on: ubuntu-latest
# name: Lint
# steps:
# - name: Check out source repository
# uses: actions/checkout@v3
# - name: Set up Python environment
# uses: actions/setup-python@v4
# with:
# python-version: "3.11"
# - name: flake8 Lint
# uses: py-actions/flake8@v2