From 9b8b750d2c340839a95970e46a4d4abcfc0a6f01 Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Wed, 10 Jan 2024 00:03:43 +0800 Subject: [PATCH] fix: rust ci should test on tabby-db (#1184) * Update autofix-rust.yml * Update test-rust.yml --- .github/workflows/autofix-rust.yml | 3 ++- .github/workflows/test-rust.yml | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/autofix-rust.yml b/.github/workflows/autofix-rust.yml index 908df6ff1f9f..76299bff2601 100644 --- a/.github/workflows/autofix-rust.yml +++ b/.github/workflows/autofix-rust.yml @@ -8,7 +8,8 @@ on: - 'Cargo.toml' - 'Cargo.lock' - 'crates/**' - - 'ee/tabby-webserver/**' + - 'ee/**' + - '!ee/tabby-ui/**' permissions: contents: read diff --git a/.github/workflows/test-rust.yml b/.github/workflows/test-rust.yml index d74b3daf6af6..4b322c0ce2ef 100644 --- a/.github/workflows/test-rust.yml +++ b/.github/workflows/test-rust.yml @@ -7,7 +7,8 @@ on: - 'Cargo.toml' - 'Cargo.lock' - 'crates/**' - - 'ee/tabby-webserver/**' + - 'ee/**' + - '!ee/tabby-ui/**' - '.github/workflows/test-rust.yml' concurrency: @@ -55,4 +56,4 @@ jobs: - run: bash ./ci/prepare_build_environment.sh - name: Run unit tests - run: cargo test --bin tabby --lib \ No newline at end of file + run: cargo test --bin tabby --lib