File tree Expand file tree Collapse file tree
TelegramSearchBot.Test/Service/Vector Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838 run : dotnet list package --vulnerable --include-transitive
3939
4040 - name : Test
41- run : dotnet test --no-build --verbosity normal --configuration Release --collect:"XPlat Code Coverage" --logger "trx;LogFileName=test-results.trx"
41+ run : dotnet test --no-build --verbosity normal --configuration Release --filter "Category!=Performance" -- collect:"XPlat Code Coverage" --logger "trx;LogFileName=test-results.trx"
4242
4343 - name : Upload coverage to Codecov
4444 if : matrix.os == 'windows-latest'
Original file line number Diff line number Diff line change 8686 - name : Build
8787 run : dotnet build --no-restore -c Release
8888 - name : Test
89- run : dotnet test --no-build -c Release --verbosity normal
89+ run : dotnet test --no-build -c Release --verbosity normal --filter "Category!=Performance"
9090
9191 build-telegram-bot-api :
9292 needs : prepare
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ namespace TelegramSearchBot.Test.Service.Vector {
2222 /// <summary>
2323 /// 向量服务性能测试
2424 /// </summary>
25+ [ Trait ( "Category" , "Performance" ) ]
2526 public class VectorPerformanceTests : IDisposable {
2627 private readonly Mock < ILogger < FaissVectorService > > _mockLogger ;
2728 private readonly Mock < IGeneralLLMService > _mockLLMService ;
You can’t perform that action at this time.
0 commit comments