Adjust/Fix CI coverage reporting (#60329)

This commit is contained in:
Franck Nijhof 2021-11-25 15:05:20 +01:00 committed by GitHub
parent 2f0ec0d7e5
commit 8b001fd54d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -703,7 +703,7 @@ jobs:
--test-group-count ${{ needs.changes.outputs.test_group_count }} \
--test-group=${{ matrix.group }} \
--cov homeassistant \
--cov-report= \
--cov-report=xml \
-o console_output_style=count \
-p no:sugar \
tests
@ -716,19 +716,22 @@ jobs:
--timeout=9 \
--durations=10 \
-n auto \
--dist=loadfile \
--cov homeassistant.components.${{ matrix.group }} \
--cov-report= \
--cov-report=xml \
--cov-report=term-missing \
-o console_output_style=count \
-p no:sugar \
tests/components/${{ matrix.group }}
- name: Upload coverage to Codecov (full coverage)
if: needs.changes.outputs.test_full_suite == 'true'
uses: codecov/codecov-action@v2.1.0
with:
files: coverage.xml
- name: Upload coverage to Codecov (partial coverage)
if: needs.changes.outputs.test_full_suite == 'false'
uses: codecov/codecov-action@v2.1.0
with:
files: coverage.xml
flags: ${{ matrix.group }}
- name: Check dirty
run: |