ci: Do not show output of failed tests at the end too (#43449)
Piotr Osiewicz
created 3 weeks ago
This reverts #39643, effectively
For the record, @SomeoneToIgnore found it quite cumbersome to scroll
through logs just to see which tests have failed. I kinda see the
argument. At the same time, I wish nextest could do both: it could
aggregate logs of failed tests and then print out the summary.
Release Notes:
- N/A
Change summary
.github/workflows/extension_tests.yml | 2 +-
.github/workflows/release.yml | 6 +++---
.github/workflows/release_nightly.yml | 2 +-
.github/workflows/run_tests.yml | 6 +++---
tooling/xtask/src/tasks/workflows/steps.rs | 5 +----
5 files changed, 9 insertions(+), 12 deletions(-)
Detailed changes
@@ -77,7 +77,7 @@ jobs:
uses: taiki-e/install-action@nextest
- name: steps::cargo_nextest
if: inputs.run_tests
- run: cargo nextest run --workspace --no-fail-fast --failure-output immediate-final
+ run: cargo nextest run --workspace --no-fail-fast
shell: bash -euxo pipefail {0}
timeout-minutes: 3
check_extension:
@@ -33,7 +33,7 @@ jobs:
run: ./script/clear-target-dir-if-larger-than 300
shell: bash -euxo pipefail {0}
- name: steps::cargo_nextest
- run: cargo nextest run --workspace --no-fail-fast --failure-output immediate-final
+ run: cargo nextest run --workspace --no-fail-fast
shell: bash -euxo pipefail {0}
- name: steps::cleanup_cargo_config
if: always()
@@ -80,7 +80,7 @@ jobs:
run: ./script/clear-target-dir-if-larger-than 250
shell: bash -euxo pipefail {0}
- name: steps::cargo_nextest
- run: cargo nextest run --workspace --no-fail-fast --failure-output immediate-final
+ run: cargo nextest run --workspace --no-fail-fast
shell: bash -euxo pipefail {0}
- name: steps::cleanup_cargo_config
if: always()
@@ -112,7 +112,7 @@ jobs:
run: ./script/clear-target-dir-if-larger-than.ps1 250
shell: pwsh
- name: steps::cargo_nextest
- run: cargo nextest run --workspace --no-fail-fast --failure-output immediate-final
+ run: cargo nextest run --workspace --no-fail-fast
shell: pwsh
- name: steps::cleanup_cargo_config
if: always()
@@ -51,7 +51,7 @@ jobs:
run: ./script/clear-target-dir-if-larger-than.ps1 250
shell: pwsh
- name: steps::cargo_nextest
- run: cargo nextest run --workspace --no-fail-fast --failure-output immediate-final
+ run: cargo nextest run --workspace --no-fail-fast
shell: pwsh
- name: steps::cleanup_cargo_config
if: always()
@@ -117,7 +117,7 @@ jobs:
run: ./script/clear-target-dir-if-larger-than.ps1 250
shell: pwsh
- name: steps::cargo_nextest
- run: cargo nextest run --workspace --no-fail-fast --failure-output immediate-final
+ run: cargo nextest run --workspace --no-fail-fast
shell: pwsh
- name: steps::cleanup_cargo_config
if: always()
@@ -166,7 +166,7 @@ jobs:
run: ./script/clear-target-dir-if-larger-than 250
shell: bash -euxo pipefail {0}
- name: steps::cargo_nextest
- run: cargo nextest run --workspace --no-fail-fast --failure-output immediate-final
+ run: cargo nextest run --workspace --no-fail-fast
shell: bash -euxo pipefail {0}
- name: steps::cleanup_cargo_config
if: always()
@@ -200,7 +200,7 @@ jobs:
run: ./script/clear-target-dir-if-larger-than 300
shell: bash -euxo pipefail {0}
- name: steps::cargo_nextest
- run: cargo nextest run --workspace --no-fail-fast --failure-output immediate-final
+ run: cargo nextest run --workspace --no-fail-fast
shell: bash -euxo pipefail {0}
- name: steps::cleanup_cargo_config
if: always()
@@ -53,10 +53,7 @@ pub fn cargo_install_nextest() -> Step<Use> {
}
pub fn cargo_nextest(platform: Platform) -> Step<Run> {
- named::run(
- platform,
- "cargo nextest run --workspace --no-fail-fast --failure-output immediate-final",
- )
+ named::run(platform, "cargo nextest run --workspace --no-fail-fast")
}
pub fn setup_cargo_config(platform: Platform) -> Step<Run> {