Skip to content

Commit 3166446

Browse files
committed
WIP
1 parent 9b572e6 commit 3166446

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,10 +221,17 @@ jobs:
221221

222222
- name: postprocess metrics into the summary
223223
run: |
224+
pwd
225+
echo "build"
226+
ls -lha build
227+
echo "obj/build"
228+
ls -lha obj/build
224229
if [ -f build/metrics.json ]; then
225230
./build/citool/debug/citool postprocess-metrics build/metrics.json ${GITHUB_STEP_SUMMARY}
226231
elif [ -f obj/build/metrics.json ]; then
227232
./build/citool/debug/citool postprocess-metrics obj/build/metrics.json ${GITHUB_STEP_SUMMARY}
233+
else
234+
echo "No metrics.json found"
228235
fi
229236
230237
# This job isused to tell bors the final status of the build, as there is no practical way to detect

src/ci/citool/src/metrics.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ pub fn postprocess_metrics(metrics_path: &Path, summary_path: &Path) -> anyhow::
1010
let suites = get_test_suites(&metrics);
1111

1212
if suites.is_empty() {
13+
eprintln!("No test suites found in {}", metrics_path.display());
1314
return Ok(());
1415
}
1516

@@ -24,6 +25,8 @@ pub fn postprocess_metrics(metrics_path: &Path, summary_path: &Path) -> anyhow::
2425
writeln!(file, "\n# Test results\n")?;
2526
writeln!(file, "{table}")?;
2627

28+
eprintln!("Written test suite summary into {}", summary_path.display());
29+
2730
Ok(())
2831
}
2932

0 commit comments

Comments
 (0)