@@ -108,8 +108,8 @@ jobs:
108108 cd typing_inspect
109109 pytest
110110
111- pyanalyze :
112- name : pyanalyze tests
111+ pycroscope :
112+ name : pycroscope tests
113113 needs : skip-schedule-on-fork
114114 strategy :
115115 fail-fast : false
@@ -125,26 +125,25 @@ jobs:
125125 allow-prereleases : true
126126 - name : Install uv
127127 run : curl -LsSf https://astral.sh/uv/install.sh | sh
128- - name : Check out pyanalyze
129- run : git clone --depth=1 https://github.com/quora/pyanalyze .git || git clone --depth=1 https://github.com/quora/pyanalyze .git
128+ - name : Check out pycroscope
129+ run : git clone --depth=1 https://github.com/JelleZijlstra/pycroscope .git || git clone --depth=1 https://github.com/JelleZijlstra/pycroscope .git
130130 - name : Checkout typing_extensions
131131 uses : actions/checkout@v4
132132 with :
133133 path : typing-extensions-latest
134- - name : Install pyanalyze test requirements
134+ - name : Install pycroscope test requirements
135135 run : |
136136 set -x
137- cd pyanalyze
138- uv pip install --system 'pyanalyze [tests] @ .' --exclude-newer $(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)
137+ cd pycroscope
138+ uv pip install --system 'pycroscope [tests] @ .' --exclude-newer $(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)
139139 - name : Install typing_extensions latest
140140 run : uv pip install --system "typing-extensions @ ./typing-extensions-latest"
141141 - name : List all installed dependencies
142142 run : uv pip freeze
143- # TODO: re-enable
144- # - name: Run pyanalyze tests
145- # run: |
146- # cd pyanalyze
147- # pytest pyanalyze/
143+ - name : Run pycroscope tests
144+ run : |
145+ cd pycroscope
146+ pytest pycroscope/
148147
149148 typeguard :
150149 name : typeguard tests
@@ -342,14 +341,41 @@ jobs:
342341 --force-dep "typing-extensions @ file://$(pwd)/../typing-extensions-latest" \
343342 -- -q --nomemory --notimingintensive
344343
344+
345+ litestar :
346+ name : litestar tests
347+ needs : skip-schedule-on-fork
348+ runs-on : ubuntu-latest
349+ timeout-minutes : 10
350+ strategy :
351+ fail-fast : false
352+ matrix :
353+ python-version : [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
354+ steps :
355+ - name : Setup Python
356+ uses : actions/setup-python@v5
357+ with :
358+ python-version : ${{ matrix.python-version }}
359+ - name : Checkout litestar
360+ run : git clone --depth=1 https://github.com/litestar-org/litestar.git || git clone --depth=1 https://github.com/litestar-org/litestar.git
361+ - name : Checkout typing_extensions
362+ uses : actions/checkout@v4
363+ with :
364+ path : typing-extensions-latest
365+ - name : Install uv
366+ run : curl -LsSf https://astral.sh/uv/install.sh | sh
367+ - name : Run litestar tests
368+ run : uv run --with=../typing-extensions-latest -- python -m pytest tests/unit/test_typing.py tests/unit/test_dto
369+ working-directory : litestar
370+
345371 create-issue-on-failure :
346372 name : Create an issue if daily tests failed
347373 runs-on : ubuntu-latest
348374
349375 needs :
350376 - pydantic
351377 - typing_inspect
352- - pyanalyze
378+ - pycroscope
353379 - typeguard
354380 - typed-argument-parser
355381 - mypy
@@ -364,7 +390,7 @@ jobs:
364390 && (
365391 needs.pydantic.result == 'failure'
366392 || needs.typing_inspect.result == 'failure'
367- || needs.pyanalyze .result == 'failure'
393+ || needs.pycroscope .result == 'failure'
368394 || needs.typeguard.result == 'failure'
369395 || needs.typed-argument-parser.result == 'failure'
370396 || needs.mypy.result == 'failure'
0 commit comments