Skip to content

Commit

Permalink
Disable tests (except tox -e static)
Browse files Browse the repository at this point in the history
  • Loading branch information
petertdavies committed Dec 5, 2024
1 parent 1ea4a8d commit c372346
Showing 1 changed file with 23 additions and 21 deletions.
44 changes: 23 additions & 21 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit c372346

Please sign in to comment.