From 98813ed5ea4cd4659cddd3ba660c3078b298f2f4 Mon Sep 17 00:00:00 2001 From: Nicholas McDonnell <50747025+mcdonnnj@users.noreply.github.com> Date: Thu, 5 Feb 2026 18:10:27 -0500 Subject: [PATCH 1/2] Adjust job dependencies in the `build` workflow Remove the dependency on the `lint` job from the `build` job. Since we do not depend on the success of the `lint` job to test the source code I don't see a reason we need to depend on it to (try to) build a wheel as long as the `diagnostics` job completes successfully). Also remove the dependency on the `test` job from the `build` job and add it to the `test-build` job. This will allow us to attempt to build wheels for the project even if source code testing has not (yet) passed, but will not bother testing the built wheel unless source code testing has passed. --- .github/workflows/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4b36f44..9824969 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -339,8 +339,6 @@ jobs: name: build wheel - py${{ matrix.python-version }} needs: - diagnostics - - lint - - test permissions: # actions/checkout needs this to fetch code contents: read @@ -418,6 +416,7 @@ jobs: needs: - diagnostics - build + - test permissions: # actions/checkout needs this to fetch code contents: read From 842c518c2dbf00e3fb3e5974561827d2bb71005d Mon Sep 17 00:00:00 2001 From: Nicholas McDonnell <50747025+mcdonnnj@users.noreply.github.com> Date: Fri, 6 Feb 2026 12:17:36 -0500 Subject: [PATCH 2/2] Adjust job names in the `build` workflow Adjust the names of several jobs to more clearly align with their descriptive names and functionality. Any dependencies are also updated to use the new names. --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9824969..5842141 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -204,7 +204,7 @@ jobs: - name: Setup tmate debug session uses: mxschmitt/action-tmate@v3 if: env.RUN_TMATE - test: + test-source: name: test source - py${{ matrix.python-version }} - ${{ matrix.platform }} needs: - diagnostics @@ -299,7 +299,7 @@ jobs: runs-on: ubuntu-latest needs: - diagnostics - - test + - test-source steps: - name: Apply standard cisagov job preamble uses: cisagov/action-job-preamble@v1 @@ -335,7 +335,7 @@ jobs: - name: Setup tmate debug session uses: mxschmitt/action-tmate@v3 if: env.RUN_TMATE - build: + build-wheel: name: build wheel - py${{ matrix.python-version }} needs: - diagnostics @@ -411,12 +411,12 @@ jobs: - name: Setup tmate debug session uses: mxschmitt/action-tmate@v3 if: env.RUN_TMATE - test-build: + test-wheel: name: test built wheel - py${{ matrix.python-version }} - ${{ matrix.platform }} needs: - diagnostics - - build - - test + - build-wheel + - test-source permissions: # actions/checkout needs this to fetch code contents: read