diff --git a/.github/workflows/core-ganache-3.10.yaml b/.github/workflows/core-ganache-3.10.yaml index b3d3368ce..adaa81cbf 100644 --- a/.github/workflows/core-ganache-3.10.yaml +++ b/.github/workflows/core-ganache-3.10.yaml @@ -1,4 +1,4 @@ -name: Core Ganache (py10) +name: Core Ganache (py3.10) on: ["push", "pull_request"] env: @@ -7,7 +7,7 @@ env: WEB3_INFURA_PROJECT_ID: ddddf0c53f254d36aa76ce4e3a6a390e jobs: - py37core: + py310core: runs-on: ubuntu-latest steps: @@ -22,10 +22,10 @@ jobs: key: ${{ runner.os }}-compiler-cache - name: Setup Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 - name: Install Ganache - run: npm install -g ganache@7.0.2 + run: npm install -g ganache@7.9.2 - name: Setup Python 3.10 uses: actions/setup-python@v5 diff --git a/.github/workflows/core-ganache-3.8.yaml b/.github/workflows/core-ganache-3.8.yaml index 970c93f62..158fac1fa 100644 --- a/.github/workflows/core-ganache-3.8.yaml +++ b/.github/workflows/core-ganache-3.8.yaml @@ -1,4 +1,4 @@ -name: Core Ganache (py38) +name: Core Ganache (py3.12) on: ["push", "pull_request"] env: @@ -7,11 +7,11 @@ env: WEB3_INFURA_PROJECT_ID: 21317ddb5ded42ce8d40c7d78f90474f jobs: - py38core: + py312core: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Cache Solidity Installations uses: actions/cache@v2 @@ -22,21 +22,21 @@ jobs: key: ${{ runner.os }}-compiler-cache - name: Setup Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 - name: Install Ganache - run: npm install -g ganache@7.0.2 + run: npm install -g ganache@7.9.2 - - name: Setup Python 3.8 - uses: actions/setup-python@v2 + - name: Setup Python 3.12 + uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: "3.12" - name: Install Tox run: pip install tox - name: Run Tox - run: tox -e py38 + run: tox -e py312 - name: Upload coverage to Codecov uses: codecov/codecov-action@v1 diff --git a/.github/workflows/core-ganache-3.9.yaml b/.github/workflows/core-ganache-3.9.yaml index 6156bbcda..bb8775fe5 100644 --- a/.github/workflows/core-ganache-3.9.yaml +++ b/.github/workflows/core-ganache-3.9.yaml @@ -1,4 +1,4 @@ -name: Core Ganache (py39) +name: Core Ganache (py3.11) on: ["push", "pull_request"] env: @@ -7,16 +7,11 @@ env: WEB3_INFURA_PROJECT_ID: 1668fecbc9c242d58253476103a42ce9 jobs: - py39core: - runs-on: ${{ matrix.os }} - - strategy: - fail-fast: false - matrix: - os: [windows-latest, ubuntu-latest] + py311core: + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Cache Solidity Installations uses: actions/cache@v2 @@ -27,21 +22,21 @@ jobs: key: ${{ runner.os }}-compiler-cache - name: Setup Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 - name: Install Ganache - run: npm install -g ganache@7.0.2 + run: npm install -g ganache@7.9.2 - - name: Setup Python 3.9 - uses: actions/setup-python@v2 + - name: Setup Python 3.11 + uses: actions/setup-python@v5 with: - python-version: 3.9 + python-version: "3.11" - name: Install Tox run: pip install tox - name: Run Tox - run: tox -e py39 + run: tox -e py311 - name: Upload coverage to Codecov uses: codecov/codecov-action@v1 diff --git a/tox.ini b/tox.ini index 52f940fa8..87e02547e 100644 --- a/tox.ini +++ b/tox.ini @@ -2,7 +2,7 @@ envlist = lint docs-{local,external} - py{38,39,310} + py{310,311,312} {pm,evm,plugin}test evm-{byzantium,petersburg,istanbul,latest} @@ -12,16 +12,16 @@ passenv = GITHUB_TOKEN WEB3_INFURA_PROJECT_ID deps = - 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 + py{310,311,312},{pm,plugin}test,evm-{byzantium,petersburg,istanbul,latest}: coverage==5.2.1 + py{310,311,312},{pm,plugin}test,evm-{byzantium,petersburg,istanbul,latest}: pytest==6.0.1 + py{310,311,312},{pm,plugin}test,evm-{byzantium,petersburg,istanbul,latest}: pytest-cov==2.10.1 + py{310,311,312},{pm,plugin}test,evm-{byzantium,petersburg,istanbul,latest}: pytest-mock==3.3.1 + py{310,311,312},{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{38,39,310}: python -m pytest tests/ {posargs} + py{310,311,312}: 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