ci: add notify-failure, deploy tagging, and coverage reporting
Lint / Python (flake8) (push) Failing after 20s
Lint / JS (eslint) (push) Successful in 7s
Security / Python Security (bandit) (push) Failing after 22s
Test / Python Tests (pytest) (push) Successful in 30s
Lint / Notify on failure (push) Successful in 2s
Lint / Deploy (push) Has been skipped

- lint.yml: add notify-failure Matrix alert job; add Tag deployed commit
  step to deploy job with deploy-YYYY.MM.DD-N tagging via Gitea API
- test.yml: add pytest-cov for coverage reporting
- .coveragerc: omit tests and site-packages from coverage

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-14 15:16:02 -04:00
parent 7cd39bbe9b
commit 2c4e8fcfda
3 changed files with 41 additions and 3 deletions
+3 -3
View File
@@ -17,8 +17,8 @@ jobs:
run: |
apt-get update -qq
apt-get install -y -qq python3 python3-pip
pip3 install pytest
pip3 install pytest pytest-cov
pip3 install -r requirements.txt --quiet
- name: Run pytest
run: python3 -m pytest tests/ -v
- name: Run pytest with coverage
run: python3 -m pytest tests/ -v --cov=. --cov-report=term-missing --cov-config=.coveragerc