Skip to content

Commit 76b2104

Browse files
committed
ci: print log on test failure and clean cache
1 parent 24dc041 commit 76b2104

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,8 @@ jobs:
3333
run: cargo test --verbose --all
3434
- name: cargo xtask test
3535
run: cargo xtask test
36+
- name: print logs if tests fail
37+
run: cat test_log/*.log
38+
if: failure()
39+
- name: cargo clean cache
40+
run: cargo install cargo-cache --no-default-features --features ci-autoclean && cargo-cache

0 commit comments

Comments
 (0)