From c372346dbc40c7cfa0ba94251461dbda75cb7b17 Mon Sep 17 00:00:00 2001 From: Peter Miller Date: Thu, 5 Dec 2024 20:58:10 +0000 Subject: [PATCH] Disable tests (except `tox -e static`) --- .github/workflows/test.yaml | 44 +++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 5c4b383632..06fa432444 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -12,7 +12,8 @@ jobs: runs-on: self-hosted strategy: matrix: - py: [ "3.10", "pypy3.10" ] +# py: [ "3.10", "pypy3.10" ] + py: [ "3.10" ] steps: - uses: actions/checkout@v3 @@ -33,25 +34,26 @@ jobs: - name: Install Tox and any other packages run: "pip install 'tox>=4.11,<5' requests" - - name: Download Geth and add to $PATH - run: | - mkdir -p $GITHUB_WORKSPACE/bin - $GITHUB_WORKSPACE/scripts/download_geth_linux.py --dir $GITHUB_WORKSPACE/bin - echo $GITHUB_WORKSPACE/bin >> $GITHUB_PATH +# - name: Download Geth and add to $PATH +# run: | +# mkdir -p $GITHUB_WORKSPACE/bin +# $GITHUB_WORKSPACE/scripts/download_geth_linux.py --dir $GITHUB_WORKSPACE/bin +# echo $GITHUB_WORKSPACE/bin >> $GITHUB_PATH - name: Run Tox (CPython) - if: "${{ !startsWith(matrix.py, 'pypy') }}" - run: tox -e static,py3 - - - name: Run Tox (PyPy) - if: "${{ startsWith(matrix.py, 'pypy') }}" - run: tox -e pypy3 - env: - PYPY_GC_MAX: "10G" - - - name: Upload coverage to Codecov - if: "${{ !startsWith(matrix.py, 'pypy') }}" - uses: codecov/codecov-action@v1 - with: - files: .tox/coverage.xml - flags: unittests +# if: "${{ !startsWith(matrix.py, 'pypy') }}" +# run: tox -e static,py3 + run: tox -e static + +# - name: Run Tox (PyPy) +# if: "${{ startsWith(matrix.py, 'pypy') }}" +# run: tox -e pypy3 +# env: +# PYPY_GC_MAX: "10G" + +# - name: Upload coverage to Codecov +# if: "${{ !startsWith(matrix.py, 'pypy') }}" +# uses: codecov/codecov-action@v1 +# with: +# files: .tox/coverage.xml +# flags: unittests