Skip to content

armgit / laya

Public Imported from GitHub
0

Non-autoregressive System 1 decision engine. Typed choice, score and yes/no decisions over any text in a single forward pass, in 100+ languages, with a router that picks the right checkpoint per request.

test: run CI on advertised Python 3.12 (#201)

Cheikh Ahmadou Bamba Syll52e9671e3113
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 2b1536b6..fe5fc613 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -23,7 +23,8 @@ jobs:
strategy:
fail-fast: false
matrix:
- python: ["3.10", "3.11", "3.13"]
+ # Keep this in lockstep with pyproject classifiers; packaging tests enforce that.
+ python: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
diff --git a/tests/test_packaging.py b/tests/test_packaging.py
index 5a969106..25a32e53 100644
--- a/tests/test_packaging.py
+++ b/tests/test_packaging.py
@@ -70,6 +70,13 @@ ci_versions = [version_tuple(v) for v in re.findall(r'"(\d+\.\d+)"', workflow)]
stale = [".".join(str(p) for p in v) for v in ci_versions if v < floor]
check("ci/tests no Python below requires-python", stale, [])
+# Classifiers on PyPI are a support claim. If a version is listed there, CI must run it
+# (3.12 was advertised while the matrix jumped 3.11 -> 3.13).
+missing_from_ci = [
+ ".".join(str(p) for p in v) for v in classifier_versions if v not in ci_versions
+]
+check("ci/tests every advertised Python version", missing_from_ci, [])
+
print("\n%d passed, %d failed" % (len(PASS), len(FAIL)))
for f in FAIL:
print(" FAIL", f)