fix: resolve GitHub Actions failures

- Remove Codecov coverage upload causing rate limit errors
- Remove pytest-cov dependency (not needed for CI)
- Simplify test workflow to focus on functionality
- All 37 tests still pass without coverage collection
- Workflow now more reliable and faster

🔧 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Fahad
2025-06-09 09:41:30 +04:00
parent 78b8a93fe1
commit b9e57aa3c4
3 changed files with 1 additions and 9 deletions

View File

@@ -30,16 +30,10 @@ jobs:
run: | run: |
# Run all tests except live integration tests # Run all tests except live integration tests
# These tests use mocks and don't require API keys # These tests use mocks and don't require API keys
python -m pytest tests/ --ignore=tests/test_live_integration.py -v --cov=. --cov-report=xml python -m pytest tests/ --ignore=tests/test_live_integration.py -v
env: env:
# Ensure no API key is accidentally used in CI # Ensure no API key is accidentally used in CI
GEMINI_API_KEY: "" GEMINI_API_KEY: ""
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
fail_ci_if_error: true
lint: lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@@ -6,5 +6,4 @@ pydantic>=2.0.0
# Development dependencies # Development dependencies
pytest>=7.4.0 pytest>=7.4.0
pytest-asyncio>=0.21.0 pytest-asyncio>=0.21.0
pytest-cov>=4.1.0
pytest-mock>=3.11.0 pytest-mock>=3.11.0

View File

@@ -30,7 +30,6 @@ setup(
"dev": [ "dev": [
"pytest>=7.4.0", "pytest>=7.4.0",
"pytest-asyncio>=0.21.0", "pytest-asyncio>=0.21.0",
"pytest-cov>=4.1.0",
"pytest-mock>=3.11.0", "pytest-mock>=3.11.0",
] ]
}, },