From cb5dee2f05f4e4c0f00c38ee3ea7f85726143cdf Mon Sep 17 00:00:00 2001 From: Daniel Bohlin Date: Wed, 29 Apr 2026 03:11:43 +0200 Subject: [PATCH] ci: skip Integration and TimeCritical tests on shared CI runners Restores the test filter from the legacy Azure DevOps pipeline: '(Category!=Integration)&(Category!=TimeCritical)'. - Integration tests need a live Mongo/Redis instance. - TimeCritical tests in FetchDataThrottleTests assert wall-clock parallelism timing (e.g. 'elapsed < 200ms'). They're meaningful when run on a quiet local machine to validate FetchQueue throttling, but flake on shared GitHub-hosted runners with no consistent capacity. Both categories stay runnable locally without the filter. --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 65b76da..564892e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,7 +46,8 @@ jobs: fi - name: Test with coverage - run: dotnet test -c Release --no-build --verbosity normal --collect:"XPlat Code Coverage" --results-directory ./coverage + # Skip Integration (needs Mongo/Redis) and TimeCritical (wall-clock asserts) tests on shared CI runners. + run: dotnet test -c Release --no-build --verbosity normal --filter "(Category!=Integration)&(Category!=TimeCritical)" --collect:"XPlat Code Coverage" --results-directory ./coverage - name: Upload coverage to Codecov uses: codecov/codecov-action@v5