From 07e81a30c9d1acd3dd4a8ae6c941c3d5d6425879 Mon Sep 17 00:00:00 2001 From: RedEtherbloom Date: Wed, 13 Nov 2024 22:32:10 +0100 Subject: [PATCH 1/2] fix: Cache grcov and taskwarrior-tui with same build action --- .github/workflows/generate_coverage.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/generate_coverage.yml b/.github/workflows/generate_coverage.yml index d0ad46b2..7d82e370 100644 --- a/.github/workflows/generate_coverage.yml +++ b/.github/workflows/generate_coverage.yml @@ -16,23 +16,18 @@ jobs: # prepare taskwarrior, initial setup task rc.confirmation=off || echo 0 - - name: Install Rust toolchain for grcov compilation + - name: Install Rust toolchains for grcov and taskwarrior-tui compilation uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: stable override: true + components: llvm-tools-preview - name: Install grcov uses: clechasseur/rs-cargo@v2 with: command: install args: grcov - - name: Install Rust toolchain - uses: actions-rust-lang/setup-rust-toolchain@v1 - with: - toolchain: nightly - override: true - components: llvm-tools-preview - name: Checkout testdata uses: actions/checkout@v4 with: From 8c23d0d344ebe0097d92117f66d0accdb4ef6536 Mon Sep 17 00:00:00 2001 From: RedEtherbloom Date: Wed, 13 Nov 2024 23:49:24 +0100 Subject: [PATCH 2/2] non-trivial test example --- src/app.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.rs b/src/app.rs index 948a2d94..5d1f113e 100644 --- a/src/app.rs +++ b/src/app.rs @@ -4773,7 +4773,7 @@ mod tests { terminal.backend().assert_buffer(&expected); } - // #[test] + #[tokio::test] async fn test_draw_context_menu() { let mut expected = Buffer::with_lines(vec![ "╭Context───────────────────────────────────────────────────────────────────────╮",