-
Notifications
You must be signed in to change notification settings - Fork 341
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
Upload instrumentation report regardless if tests failed #7071
Upload instrumentation report regardless if tests failed #7071
Conversation
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.
Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @niklasberglund)
.github/workflows/android-app.yml
line 480 at r1 (raw file):
- name: Upload instrumentation report (${{ matrix.test-type }}) uses: actions/upload-artifact@v4 if: always() && matrix.test-repeat != 0
What is always()
, just true
? I don't follow how this change aligns with the name of the PR.
c888ec7
to
299e671
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.
Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @Rawa)
.github/workflows/android-app.yml
line 480 at r1 (raw file):
Previously, Rawa (David Göransson) wrote…
What is
always()
, justtrue
? I don't follow how this change aligns with the name of the PR.
GitHub Actions does some magic with status checks in if
conditions. If no status check is specified it will default to success()
and the the step will only run if previous steps are successful. With always()
this step will run even if previous steps failed.
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.
Reviewed 1 of 1 files at r2.
Reviewable status: complete! all files reviewed, all discussions resolved
.github/workflows/android-app.yml
line 480 at r1 (raw file):
Previously, niklasberglund (Niklas Berglund) wrote…
GitHub Actions does some magic with status checks in
if
conditions. If no status check is specified it will default tosuccess()
and the the step will only run if previous steps are successful. Withalways()
this step will run even if previous steps failed.
😳
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.
Reviewable status: complete! all files reviewed, all discussions resolved
.github/workflows/android-app.yml
line 480 at r1 (raw file):
Previously, Rawa (David Göransson) wrote…
😳
👍
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.
Reviewed all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved
299e671
to
dfc09b5
Compare
Upload instrumentation test report no matter whether tests failed or ran successfully. Before it not uploaded if tests fail because by default a step's
if
have asuccessful()
condition steps following a failing test not to run.This change is