Skip to content

Commit 281d7b0

Browse files
authored
Add 3rd party tests for litestar (#578)
1 parent 8092c39 commit 281d7b0

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/third_party.yml

+27
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,33 @@ jobs:
343343
--force-dep "typing-extensions @ file://$(pwd)/../typing-extensions-latest" \
344344
-- -q --nomemory --notimingintensive
345345
346+
347+
litestar:
348+
name: litestar tests
349+
needs: skip-schedule-on-fork
350+
runs-on: ubuntu-latest
351+
timeout-minutes: 10
352+
strategy:
353+
fail-fast: false
354+
matrix:
355+
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
356+
steps:
357+
- name: Setup Python
358+
uses: actions/setup-python@v5
359+
with:
360+
python-version: ${{ matrix.python-version }}
361+
- name: Checkout litestar
362+
run: git clone --depth=1 https://github.com/litestar-org/litestar.git || git clone --depth=1 https://github.com/litestar-org/litestar.git
363+
- name: Checkout typing_extensions
364+
uses: actions/checkout@v4
365+
with:
366+
path: typing-extensions-latest
367+
- name: Install uv
368+
run: curl -LsSf https://astral.sh/uv/install.sh | sh
369+
- name: Run litestar tests
370+
run: uv run --with=../typing-extensions-latest -- python -m pytest tests/unit/test_typing.py tests/unit/test_dto
371+
working-directory: litestar
372+
346373
create-issue-on-failure:
347374
name: Create an issue if daily tests failed
348375
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)