Skip to content

Commit

Permalink
Added Litestar to the downstream test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm committed Dec 16, 2023
1 parent b7be190 commit fe31dd5
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test-downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,28 @@ jobs:
pip install anyio[trio]@git+https://github.com/agronholm/anyio.git@${{ github.ref_name }}
- name: Run tests
run: bash scripts/test.sh

litestar:
name: "Litestar on Python ${{ matrix.python-version }}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.10", "3.12"]
steps:
- uses: actions/checkout@v4
with:
repository: litestar-org/litestar
- uses: pdm-project/setup-pdm@v3
name: Set up PDM
with:
python-version: ${{ matrix.python-version }}
allow-python-prereleases: false
cache: true
cache-dependency-path: pdm.lock
- name: Install dependencies
run: |
pdm install -G:all
pdm add --no-lock --update-reuse-installed anyio[trio]@git+https://github.com/agronholm/anyio.git@${{ github.ref_name }}
- name: Test
run: pdm run pytest docs/examples tests -n auto

0 comments on commit fe31dd5

Please sign in to comment.