From f5bc6f02f283fb29a5bbdfb3f9e304f41536a39d Mon Sep 17 00:00:00 2001 From: Val Neekman Date: Tue, 22 Sep 2026 16:35:46 -0400 Subject: [PATCH] CI: build only after the test matrix passes The build job ran in parallel with the tests, so a package could be built (and on a tag, published once tests finished) from code whose tests were still running. Gate build on the ci matrix. --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7d49411..c1cf211 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,6 +64,8 @@ jobs: build: name: Build + # Only package code whose tests passed on every Python in the matrix. + needs: ci runs-on: ubuntu-latest permissions: contents: read