Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
- run: uv python install 3.10
- run: uv python pin 3.10
- run: just install lint-ci
- run: just adr-check

pytest:
runs-on: ubuntu-latest
Expand Down
10 changes: 10 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@ lint-ci:
uv run ruff check --no-fix
uv run ty check

adr_check_source := "https://raw.githubusercontent.com/modern-python/.github/main/tests/test_adr_citations.py"

# Tracks main on purpose: the shared check is unpinned.
adr-check:
#!/usr/bin/env sh
set -eu
file="$(mktemp -d)/test_adr_citations.py"
curl -fsSL "{{ adr_check_source }}" -o "$file"
uv run --no-sync pytest --rootdir=. "$file"

test *args:
uv run --no-sync pytest {{ args }}

Expand Down
111 changes: 0 additions & 111 deletions tests/test_adr_citations.py

This file was deleted.

Loading