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) <noreply@anthropic.com>
This commit is contained in:
yusyus
2026-04-06 21:08:17 +03:00
parent 6d37e43b83
commit ca9f23277b

View File

@@ -95,7 +95,8 @@ jobs:
- name: Generate coverage report - name: Generate coverage report
run: | 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 - name: Upload coverage to Codecov
uses: codecov/codecov-action@v4 uses: codecov/codecov-action@v4