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

fix: upload test output even on failure #502

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

murfffi
Copy link
Contributor

@murfffi murfffi commented Dec 2, 2024

It seems the "Archive output" step in the PR test pipeline needs a if: always() so
output is uploaded even in case of failures like https://github.com/xo/usql/actions/runs/11753817291 .

if: always() seems to be regularly used with actions/upload-artifact -
https://github.com/search?q=actions%2Fupload-artifact+always+path%3A.yml&type=code

The pipeline of the PR shows how it works in practice.

@murfffi murfffi marked this pull request as draft December 2, 2024 17:26
@murfffi murfffi changed the title draft: fix: upload test output even on failure fix: upload test output even on failure Dec 2, 2024
@murfffi murfffi marked this pull request as ready for review December 2, 2024 17:40
@kenshaw kenshaw merged commit e0e0807 into xo:master Dec 2, 2024
1 check failed
@kenshaw
Copy link
Member

kenshaw commented Dec 2, 2024

Hey, thanks! I had meant to fix this, but just didn't get to it. Very appreciated!

@murfffi murfffi deleted the fix/test_outout branch December 2, 2024 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants