ci: report integration coverage
lint / lint (push) Failing after 1m53s

This commit is contained in:
2026-06-25 08:26:43 +00:00
committed by didericis
parent 5e26dac627
commit a14bcf1a21
2 changed files with 9 additions and 2 deletions
+7 -1
View File
@@ -68,5 +68,11 @@ jobs:
echo "docker not on PATH — integration tests will skip"
fi
- name: Install dev requirements
run: python3 -m pip install -r requirements-dev.txt
- name: Run integration tests
run: python3 -m unittest discover -t . -s tests/integration -v
run: python3 -m coverage run -m unittest discover -t . -s tests/integration -v
- name: Report integration coverage
run: python3 -m coverage report -m
+2 -1
View File
@@ -41,10 +41,11 @@ jobs:
echo "score=$SCORE" >> $GITHUB_OUTPUT
echo "Pylint score: $SCORE"
- name: Run unit tests and extract coverage
- name: Run tests and extract coverage
id: coverage
run: |
python -m coverage run -m unittest discover -t . -s tests/unit -v
python -m coverage run -a -m unittest discover -t . -s tests/integration -v
TOTAL=$(python -m coverage report --format=total)
echo "total=$TOTAL" >> $GITHUB_OUTPUT
echo "Coverage total: $TOTAL"