Skip to content

chore: set debug_level=2 #213

chore: set debug_level=2

chore: set debug_level=2 #213

Workflow file for this run

name: PyTest
on:
pull_request:
# The branches below must be a subset of the branches above
branches: [ master, dev ]
paths:
- '**.py'
- '**.pyx'
- '**.yaml'
- '!**/docs/conf.py'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
pyversion: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
exclude:
# gh runner throws "Error: Version ${{ matrix.pyversion }} with arch arm64 not found"
- os: macos-latest
pyversion: "3.8"
- os: macos-latest
pyversion: "3.9"
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Setup Python (faster than using Python container)
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.pyversion }}
- name: Install pytest
run: pip install -r requirements-dev.txt
- name: Setup brownie networks
run: |
brownie networks modify mainnet host=${{ secrets.WEB3_PROVIDER }}
continue-on-error: true
- name: Install checksum_dict
run: |
pip install "eth-hash[pysha3]"
pip install -e .
- name: Run test suite
env:
PYTEST_NETWORK: mainnet
ETHERSCAN_TOKEN: ${{ secrets.ETHERSCAN_TOKEN }}
run: pytest