mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 21:55:10 +02:00
Adjust/Fix CI coverage reporting (#60329)
This commit is contained in:
9
.github/workflows/ci.yaml
vendored
9
.github/workflows/ci.yaml
vendored
@@ -703,7 +703,7 @@ jobs:
|
|||||||
--test-group-count ${{ needs.changes.outputs.test_group_count }} \
|
--test-group-count ${{ needs.changes.outputs.test_group_count }} \
|
||||||
--test-group=${{ matrix.group }} \
|
--test-group=${{ matrix.group }} \
|
||||||
--cov homeassistant \
|
--cov homeassistant \
|
||||||
--cov-report= \
|
--cov-report=xml \
|
||||||
-o console_output_style=count \
|
-o console_output_style=count \
|
||||||
-p no:sugar \
|
-p no:sugar \
|
||||||
tests
|
tests
|
||||||
@@ -716,19 +716,22 @@ jobs:
|
|||||||
--timeout=9 \
|
--timeout=9 \
|
||||||
--durations=10 \
|
--durations=10 \
|
||||||
-n auto \
|
-n auto \
|
||||||
--dist=loadfile \
|
|
||||||
--cov homeassistant.components.${{ matrix.group }} \
|
--cov homeassistant.components.${{ matrix.group }} \
|
||||||
--cov-report= \
|
--cov-report=xml \
|
||||||
|
--cov-report=term-missing \
|
||||||
-o console_output_style=count \
|
-o console_output_style=count \
|
||||||
-p no:sugar \
|
-p no:sugar \
|
||||||
tests/components/${{ matrix.group }}
|
tests/components/${{ matrix.group }}
|
||||||
- name: Upload coverage to Codecov (full coverage)
|
- name: Upload coverage to Codecov (full coverage)
|
||||||
if: needs.changes.outputs.test_full_suite == 'true'
|
if: needs.changes.outputs.test_full_suite == 'true'
|
||||||
uses: codecov/codecov-action@v2.1.0
|
uses: codecov/codecov-action@v2.1.0
|
||||||
|
with:
|
||||||
|
files: coverage.xml
|
||||||
- name: Upload coverage to Codecov (partial coverage)
|
- name: Upload coverage to Codecov (partial coverage)
|
||||||
if: needs.changes.outputs.test_full_suite == 'false'
|
if: needs.changes.outputs.test_full_suite == 'false'
|
||||||
uses: codecov/codecov-action@v2.1.0
|
uses: codecov/codecov-action@v2.1.0
|
||||||
with:
|
with:
|
||||||
|
files: coverage.xml
|
||||||
flags: ${{ matrix.group }}
|
flags: ${{ matrix.group }}
|
||||||
- name: Check dirty
|
- name: Check dirty
|
||||||
run: |
|
run: |
|
||||||
|
Reference in New Issue
Block a user