From ca9f23277b66c23ed5bb17e254df75446b776c41 Mon Sep 17 00:00:00 2001 From: yusyus Date: Mon, 6 Apr 2026 21:08:17 +0300 Subject: [PATCH] fix: exclude slow MCP/e2e tests from coverage step to prevent CI timeout The coverage step re-runs the entire test suite with --cov, including MCP tests (~20min each) that are already tested in a prior step. This caused the 6-hour GitHub Actions timeout to be hit. Exclude the slow tests from coverage and add a 30-minute timeout guard. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7e57e23..ef5a908 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -95,7 +95,8 @@ jobs: - name: Generate coverage report run: | - python -m pytest tests/ --cov=src/skill_seekers --cov-report=xml --cov-report=term + python -m pytest tests/ --ignore=tests/test_mcp_fastmcp.py --ignore=tests/test_mcp_server.py --ignore=tests/test_install_skill_e2e.py --cov=src/skill_seekers --cov-report=xml --cov-report=term + timeout-minutes: 30 - name: Upload coverage to Codecov uses: codecov/codecov-action@v4