Skip to content
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

🌱 Always upload test artifacts, even if the tests fail #1791

Merged

Conversation

mquhuy
Copy link
Member

@mquhuy mquhuy commented Jun 19, 2024

By default, if a step in github action fails, the subsequent steps won't be run. This is not ideal in case of running e2e tests, as we would like the tests artifacts to be uploaded, even if the tests fail.

This PR enables test artifacts upload for failed tests.

@metal3-io-bot metal3-io-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jun 19, 2024
@mquhuy mquhuy force-pushed the mquhuy/always-upload-test-artifacts branch from 3c62534 to 0bbee53 Compare June 19, 2024 12:33
@mquhuy
Copy link
Member Author

mquhuy commented Jun 19, 2024

@mquhuy mquhuy force-pushed the mquhuy/always-upload-test-artifacts branch from 0bbee53 to 7c66fb1 Compare June 19, 2024 14:11
@mquhuy mquhuy requested a review from tuminoid June 19, 2024 14:41
Copy link
Member

@Rozzii Rozzii left a comment

Choose a reason for hiding this comment

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

/lgtm

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label Jun 19, 2024
Copy link
Member

@tuminoid tuminoid left a comment

Choose a reason for hiding this comment

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

!cancelled() is better than always(), good addition.

Copy link
Member

@Rozzii Rozzii left a comment

Choose a reason for hiding this comment

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

/lgtm

@Rozzii
Copy link
Member

Rozzii commented Jun 24, 2024

/lgtm

Copy link
Member

@kashifest kashifest left a comment

Choose a reason for hiding this comment

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

/approve

@metal3-io-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kashifest, tuminoid

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@metal3-io-bot metal3-io-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 26, 2024
@metal3-io-bot metal3-io-bot merged commit 3e5fde8 into metal3-io:main Jun 26, 2024
17 checks passed
@metal3-io-bot metal3-io-bot deleted the mquhuy/always-upload-test-artifacts branch June 26, 2024 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants