From d34c389d3d1f8cce006dfd1200e203551c16418c Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Sun, 10 Mar 2024 20:53:23 -0700 Subject: [PATCH] Try to fix GH actions syntax (#355) --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1174ce36..e9d69774 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -75,12 +75,13 @@ jobs: python -m unittest test_typing_extensions.py - name: Test CPython typing test suite + # Test suite fails on PyPy even without typing_extensions + if: ${{ !startsWith(matrix.python-version, 'pypy') }} run: | + cd src # Run the typing test suite from CPython with typing_extensions installed, # because we monkeypatch typing under some circumstances. python -c 'import typing_extensions; import test.__main__' test_typing -v - # Test suite fails on PyPy even without typing_extensions - if: !startsWith(matrix.python-version, 'pypy') linting: name: Lint