Skip to content

Adjust job configurations in the build workflow#180

Merged
jsf9k merged 2 commits into
developfrom
improvement/adjust_build_workflow
Apr 13, 2026
Merged

Adjust job configurations in the build workflow#180
jsf9k merged 2 commits into
developfrom
improvement/adjust_build_workflow

Conversation

@mcdonnnj

@mcdonnnj mcdonnnj commented Feb 6, 2026

Copy link
Copy Markdown
Member

🗣 Description

This pull request adjust the job configurations in the build workflow by renaming some jobs and adjusting job dependencies.

💭 Motivation and context

Job names are changed to better align with their descriptive names and their respective functionality. Dependencies are modified so that the workflow attempts to build wheels no matter what, but testing those wheels is only done if it is able to successfully test the source (and wheels have been built successfully).

🧪 Testing

Automated tests pass.

✅ Pre-approval checklist

  • This PR has an informative and human-readable title.
  • Changes are limited to a single goal - eschew scope creep!
  • All relevant type-of-change labels have been added.
  • I have read the CONTRIBUTING document.
  • These code changes follow cisagov code standards.
  • Tests have been added and/or modified to cover the changes in this PR.
  • All new and existing tests pass.

@mcdonnnj mcdonnnj requested a review from Copilot February 6, 2026 17:42
@mcdonnnj mcdonnnj self-assigned this Feb 6, 2026
@mcdonnnj mcdonnnj added the improvement This issue or pull request will add or improve functionality, maintainability, or ease of use label Feb 6, 2026
@github-actions github-actions Bot added the github-actions Pull requests that update GitHub Actions code label Feb 6, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the GitHub Actions build workflow job configuration to use clearer job IDs and to adjust job dependencies so wheel building is attempted regardless of source test outcome, while wheel testing is gated on successful source testing and wheel builds.

Changes:

  • Renamed workflow jobs (testtest-source, buildbuild-wheel, test-buildtest-wheel).
  • Updated needs: dependencies so build-wheel runs after diagnostics only, and test-wheel requires both build-wheel and test-source.
  • Updated downstream dependencies to reference the renamed jobs (e.g., coveralls-finish now needs test-source).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/build.yml
Comment thread .github/workflows/build.yml
Comment thread .github/workflows/build.yml

@dav3r dav3r left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@github-project-automation github-project-automation Bot moved this from In progress to Reviewer approved in Skeleton Maintenance Feb 9, 2026
@mcdonnnj mcdonnnj added the kraken 🐙 This pull request is ready to merge during the next Lineage Kraken release label Feb 16, 2026
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.
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.
@jsf9k jsf9k force-pushed the improvement/adjust_build_workflow branch from 5e31562 to 842c518 Compare April 13, 2026 17:50
@jsf9k jsf9k enabled auto-merge April 13, 2026 17:50
@jsf9k jsf9k disabled auto-merge April 13, 2026 17:55
@jsf9k jsf9k moved this to In Progress in Next Kraken Apr 13, 2026
@jsf9k jsf9k merged commit 3ebbe57 into develop Apr 13, 2026
110 checks passed
@jsf9k jsf9k deleted the improvement/adjust_build_workflow branch April 13, 2026 18:37
@github-project-automation github-project-automation Bot moved this from Reviewer approved to Done in Skeleton Maintenance Apr 13, 2026
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Next Kraken Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github-actions Pull requests that update GitHub Actions code improvement This issue or pull request will add or improve functionality, maintainability, or ease of use kraken 🐙 This pull request is ready to merge during the next Lineage Kraken release

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants