Address all review comments: fix test counts, remove unused imports, improve workflow

Co-authored-by: Kenearos <86194771+Kenearos@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-01-03 10:59:56 +00:00
parent 0411d0856a
commit 6bb006fbe1
4 changed files with 29 additions and 32 deletions

View file

@ -38,13 +38,19 @@ jobs:
run: |
pytest tests/ -v --cov=. --cov-report=xml --cov-report=term-missing
- name: Generate .coverage file
if: matrix.python-version == '3.11'
run: |
coverage run -m pytest tests/
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
file: ./coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: false
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
- name: Generate coverage badge
if: matrix.python-version == '3.11'
@ -94,4 +100,3 @@ jobs:
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# Exit-zero treats all errors as warnings
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
continue-on-error: true