Skip to content

Commit

Permalink
Moved the PYTHONWARNINGS and fixed litestar not using the designated …
Browse files Browse the repository at this point in the history
…anyio git ref
  • Loading branch information
agronholm committed Nov 30, 2024
1 parent b6a50f6 commit 1b76425
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/test-downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ jobs:
run: |
pip install -r requirements-tests.txt
pip install anyio[trio]@git+https://github.com/agronholm/anyio.git@${{ github.ref_name }}
env:
PYTHONWARNINGS: ignore:Unclosed <MemoryObjectReceiveStream:ResourceWarning
- name: Run tests
run: bash scripts/test.sh
env:
PYTHONWARNINGS: ignore:Unclosed <MemoryObjectReceiveStream:ResourceWarning

litestar:
name: "Litestar on Python ${{ matrix.python-version }}"
Expand All @@ -108,6 +108,8 @@ jobs:
version: "0.5.4"
enable-cache: true
- name: Install dependencies
run: uv sync
run: |
uv sync
uv pip install anyio[trio]@git+https://github.com/agronholm/anyio.git@${{ github.ref_name }}
- name: Test
run: uv run pytest docs/examples tests -n auto

0 comments on commit 1b76425

Please sign in to comment.