diff --git a/.github/workflows/core-ganache-3.7.yaml b/.github/workflows/core-ganache-3.10.yaml similarity index 80% rename from .github/workflows/core-ganache-3.7.yaml rename to .github/workflows/core-ganache-3.10.yaml index 18b210ed5..b3d3368ce 100644 --- a/.github/workflows/core-ganache-3.7.yaml +++ b/.github/workflows/core-ganache-3.10.yaml @@ -1,4 +1,4 @@ -name: Core Ganache (py37) +name: Core Ganache (py10) on: ["push", "pull_request"] env: @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Cache Solidity Installations uses: actions/cache@v2 @@ -27,16 +27,16 @@ jobs: - name: Install Ganache run: npm install -g ganache@7.0.2 - - name: Setup Python 3.7 - uses: actions/setup-python@v2 + - name: Setup Python 3.10 + uses: actions/setup-python@v5 with: - python-version: 3.7 + python-version: "3.10" - name: Install Tox run: pip install tox - name: Run Tox - run: tox -e py37 + run: tox -e py310 - name: Upload coverage to Codecov uses: codecov/codecov-action@v1 diff --git a/tox.ini b/tox.ini index c1dbb6d74..52f940fa8 100644 --- a/tox.ini +++ b/tox.ini @@ -2,7 +2,7 @@ envlist = lint docs-{local,external} - py{37,38,39} + py{38,39,310} {pm,evm,plugin}test evm-{byzantium,petersburg,istanbul,latest} @@ -12,16 +12,16 @@ passenv = GITHUB_TOKEN WEB3_INFURA_PROJECT_ID deps = - py{37,38,39},{pm,plugin}test,evm-{byzantium,petersburg,istanbul,latest}: coverage==5.2.1 - py{37,38,39},{pm,plugin}test,evm-{byzantium,petersburg,istanbul,latest}: pytest==6.0.1 - py{37,38,39},{pm,plugin}test,evm-{byzantium,petersburg,istanbul,latest}: pytest-cov==2.10.1 - py{37,38,39},{pm,plugin}test,evm-{byzantium,petersburg,istanbul,latest}: pytest-mock==3.3.1 - py{37,38,39},{pm,plugin}test,evm-{byzantium,petersburg,istanbul,latest}: pytest-xdist==1.34.0 + py{38,39,310},{pm,plugin}test,evm-{byzantium,petersburg,istanbul,latest}: coverage==5.2.1 + py{38,39,310},{pm,plugin}test,evm-{byzantium,petersburg,istanbul,latest}: pytest==6.0.1 + py{38,39,310},{pm,plugin}test,evm-{byzantium,petersburg,istanbul,latest}: pytest-cov==2.10.1 + py{38,39,310},{pm,plugin}test,evm-{byzantium,petersburg,istanbul,latest}: pytest-mock==3.3.1 + py{38,39,310},{pm,plugin}test,evm-{byzantium,petersburg,istanbul,latest}: pytest-xdist==1.34.0 docs-{local,external}: sphinx docs-{local,external}: sphinx_rtd_theme docs-{local,external}: pygments_lexer_solidity commands = - py{37,38,39}: python -m pytest tests/ {posargs} + py{38,39,310}: python -m pytest tests/ {posargs} evm-byzantium: python -m pytest tests/ --evm 0.4.22,0.4.26,0.5.0,0.5.17,0.6.3,0.6.9 byzantium 0,10000 evm-petersburg: python -m pytest tests/ --evm 0.5.5,0.5.17,0.6.3,0.6.9 petersburg 0,10000 evm-istanbul: python -m pytest tests/ --evm 0.5.13,0.5.17,0.6.3,0.6.9 istanbul 0,10000 @@ -43,5 +43,3 @@ commands = black --check {toxinidir}/brownie {toxinidir}/tests flake8 {toxinidir}/brownie {toxinidir}/tests isort --check-only --diff {toxinidir}/brownie {toxinidir}/tests --skip brownie/__init__.py - mypy --disallow-untyped-defs {toxinidir}/brownie/convert {toxinidir}/brownie/network {toxinidir}/brownie/project - mypy --allow-untyped-defs {toxinidir}/brownie