diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml
index 6db737a7..bd2b11a6 100644
--- a/.github/workflows/pr.yml
+++ b/.github/workflows/pr.yml
@@ -38,7 +38,7 @@ jobs:
run: dotnet list package --vulnerable --include-transitive
- name: Test
- run: dotnet test --no-build --verbosity normal --configuration Release --collect:"XPlat Code Coverage" --logger "trx;LogFileName=test-results.trx"
+ run: dotnet test --no-build --verbosity normal --configuration Release --filter "Category!=Performance" --collect:"XPlat Code Coverage" --logger "trx;LogFileName=test-results.trx"
- name: Upload coverage to Codecov
if: matrix.os == 'windows-latest'
diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml
index 34182d6d..ddff606b 100644
--- a/.github/workflows/push.yml
+++ b/.github/workflows/push.yml
@@ -86,7 +86,7 @@ jobs:
- name: Build
run: dotnet build --no-restore -c Release
- name: Test
- run: dotnet test --no-build -c Release --verbosity normal
+ run: dotnet test --no-build -c Release --verbosity normal --filter "Category!=Performance"
build-telegram-bot-api:
needs: prepare
diff --git a/TelegramSearchBot.Test/Service/Vector/VectorPerformanceTests.cs b/TelegramSearchBot.Test/Service/Vector/VectorPerformanceTests.cs
index 005f3cdb..0428fc88 100644
--- a/TelegramSearchBot.Test/Service/Vector/VectorPerformanceTests.cs
+++ b/TelegramSearchBot.Test/Service/Vector/VectorPerformanceTests.cs
@@ -22,6 +22,7 @@ namespace TelegramSearchBot.Test.Service.Vector {
///
/// 向量服务性能测试
///
+ [Trait("Category", "Performance")]
public class VectorPerformanceTests : IDisposable {
private readonly Mock> _mockLogger;
private readonly Mock _mockLLMService;