Skip to content

ci: use build artifact in release testing job#4978

Merged
mayankansys merged 6 commits intomainfrom
ci/release_testing_slurm
Mar 17, 2026
Merged

ci: use build artifact in release testing job#4978
mayankansys merged 6 commits intomainfrom
ci/release_testing_slurm

Conversation

@mayankansys
Copy link
Copy Markdown
Collaborator

Context

The "Release Testing" job was building and installing pyfluent from source (including running API codegen) instead of using the wheel artifact from the "Build" job. This meant the release tests were not testing the same package that gets published to PyPI.

Change Summary

  • Added needs: build to the Release Testing job
  • Replaced source build + codegen steps with downloading the PyFluent-packages artifact and installing from the wheel
  • Removed now-unnecessary steps: pip cache, make version-info, make install, API codegen, version info printing, and post-codegen reinstall

Impact

Only the "Release Testing" CI job (triggered on release tag push) is affected. No changes to the build, unit testing, or release/publish jobs.

@github-actions github-actions Bot added maintenance General maintenance of the repo (libraries, cicd, etc) CI/CD labels Mar 6, 2026
@hpohekar hpohekar marked this pull request as ready for review March 9, 2026 06:18
@hpohekar hpohekar requested a review from mkundu1 as a code owner March 9, 2026 06:18
Copilot AI review requested due to automatic review settings March 9, 2026 06:18
@hpohekar
Copy link
Copy Markdown
Collaborator

hpohekar commented Mar 9, 2026

updated and made ready for review as @mayankansys was facing some issues for GH login.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 release-tag CI “Release Testing” job to validate the built wheel artifact produced by the “Build” job, ensuring release tests exercise the same package that will be published.

Changes:

  • Added a dependency (needs: build) so the Release Testing job can reliably consume build artifacts.
  • Replaced source build + API codegen in Release Testing with downloading the PyFluent-packages artifact and installing from dist/*.whl.
  • Removed now-unnecessary CI steps tied to building from source (pip cache, version-info injection, codegen, reinstall).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
doc/changelog.d/4978.maintenance.md Adds a changelog fragment documenting the CI behavior change.
.github/workflows/ci.yml Updates the Release Testing job to depend on the build job and install PyFluent from the uploaded wheel artifact.

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

@mayankansys mayankansys marked this pull request as draft March 9, 2026 09:40
Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/ci.yml
@mayankansys mayankansys marked this pull request as ready for review March 16, 2026 10:18
Copilot AI review requested due to automatic review settings March 16, 2026 10:19
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.


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

Comment thread .github/workflows/ci.yml
@mayankansys mayankansys merged commit 1125ca1 into main Mar 17, 2026
71 of 85 checks passed
@mayankansys mayankansys deleted the ci/release_testing_slurm branch March 17, 2026 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/CD maintenance General maintenance of the repo (libraries, cicd, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The "Release Testing" job during release should use the build artifact

7 participants