From cf02611330c9aa34bc86e1bcfe8389bd09a31373 Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Sun, 10 Mar 2024 20:49:44 -0700 Subject: [PATCH 1/3] Try to fix GH actions syntax --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1174ce36..e84031de 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -75,12 +75,12 @@ 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: | # 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 From 5b400cbc2627fc2679dde1d322239e2df7bbb76d Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Sun, 10 Mar 2024 20:52:04 -0700 Subject: [PATCH 2/3] try this --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e84031de..1ef83328 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -76,7 +76,7 @@ jobs: - name: Test CPython typing test suite # Test suite fails on PyPy even without typing_extensions - if: !startsWith(matrix.python-version, 'pypy') + if: ${{ !startsWith(matrix.python-version, 'pypy') }} run: | # Run the typing test suite from CPython with typing_extensions installed, # because we monkeypatch typing under some circumstances. From ce15f7803dda49e4c3519cac0514245e4fb5dd3b Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Sun, 10 Mar 2024 20:52:46 -0700 Subject: [PATCH 3/3] cd src --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1ef83328..e9d69774 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -78,6 +78,7 @@ jobs: # 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