-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[gha] Refactor Forge Stable to run individual tests #15082
Conversation
⏱️ 5h 3m total CI duration on this PR
🚨 1 job on the last run was significantly faster/slower than expected
|
3f83ae8
to
3f5f69c
Compare
f65768e
to
c4705db
Compare
c4705db
to
81c0cbc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
U da best
a9f172d
to
fce73ff
Compare
.github/workflows/forge-stable.yaml
Outdated
core.debug(`Matrix: ${JSON.stringify(matrix)}`); | ||
|
||
core.summary.addHeading('Forge Stable Info'); | ||
core.summary.addRaw("Image Tag: ${{ steps.determine-test-branch.outputs.IMAGE_TAG }}", true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There appears to be an extra double quote in }}"
that should be removed. The correct syntax is ${{ steps.determine-test-branch.outputs.IMAGE_TAG }}
.
Spotted by Graphite Reviewer
Is this helpful? React 👍 or 👎 to let us know.
.github/workflows/forge-stable.yaml
Outdated
id: set-matrix | ||
uses: actions/github-script@v7 | ||
env: | ||
JOB_NAME: ${{ inputs.JOB_NAME }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The environment variable JOB_NAME
should be renamed to TEST_NAME
to match the workflow input parameter. Currently this causes a mismatch between inputs.TEST_NAME
and the environment variable being referenced.
Spotted by Graphite Reviewer
Is this helpful? React 👍 or 👎 to let us know.
.github/workflows/forge-stable.yaml
Outdated
core.summary.addRaw("Image Tag: ${{ steps.determine-test-branch.outputs.IMAGE_TAG }}", true); | ||
core.summary.addRaw("Branch: ${{ steps.determine-test-branch.outputs.BRANCH }}", true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The steps
context references a step in the current job, but this job needs values from the determine-test-metadata
job. Please update to use the needs
context instead:
core.summary.addRaw("Image Tag: ${{ needs.determine-test-metadata.outputs.IMAGE_TAG }}", true);
core.summary.addRaw("Branch: ${{ needs.determine-test-metadata.outputs.BRANCH }}", true);
Spotted by Graphite Reviewer
Is this helpful? React 👍 or 👎 to let us know.
c045adc
to
c9e4fa8
Compare
c9e4fa8
to
db36738
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ Forge suite
|
✅ Forge suite
|
✅ Forge suite
|
Description
Refactor Forge Stable workflow to achieve the following:
The above is accomplished by dynamically generating a matrix strategy based on inputs before dispatching the forge jobs.