There was an error while loading. Please reload this page.
1 parent d97ea96 commit 54992c9Copy full SHA for 54992c9
3 files changed
.github/workflows/_checks.yml
@@ -15,6 +15,7 @@ jobs:
15
- run: uv python install 3.11
16
- run: uv python pin 3.11
17
- run: just install lint-ci
18
+ - run: just adr-check
19
20
docs:
21
runs-on: ubuntu-latest
justfile
@@ -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.
22
+adr-check:
23
+ #!/usr/bin/env sh
24
+ set -eu
25
+ file="$(mktemp -d)/test_adr_citations.py"
26
+ curl -fsSL "{{ adr_check_source }}" -o "$file"
27
+ uv run --no-sync pytest --rootdir=. "$file"
28
29
test *args:
30
uv run --no-sync pytest {{ args }}
31
tests/test_adr_citations.py
0 commit comments