Skip to content

Commit 677a318

Browse files
committed
Added coverage paths
1 parent 637c89b commit 677a318

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.yamato/code-coverage.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% metadata_file .yamato/project.metafile %}
1+
{% metadata_file .yamato/project.metafile %} # All configuration that is used to create different configurations (used in for loops) is taken from this file.
22
---
33

44
# Runs package tests in order to determine code coverage of the NGO package.
@@ -16,14 +16,14 @@ code_coverage_{{ platform.name }}_{{ editor }}:
1616
commands:
1717
- unity-downloader-cli -u {{ editor }} -c Editor --fast --wait
1818
- upm-pvp create-test-project test-project --packages "upm-ci~/packages/*.tgz" --unity .Editor
19-
- UnifiedTestRunner --suite=editor --suite=playmode --editor-location=.Editor --testproject=test-project --enable-code-coverage --code-coverage-options="generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.Netcode.Editor,+Unity.Netcode.Runtime" --extra-editor-arg=--burst-disable-compilation --extra-editor-arg=testCategory --extra-editor-arg=!Performance --timeout=1800 --reruncount=1 --clean-library-on-rerun --artifacts-path=test-results
19+
- UnifiedTestRunner --suite=editor --suite=playmode --editor-location=.Editor --testproject=test-project --enable-code-coverage --coverage-results-path=test-results/CodeCoverage --code-coverage-options="generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.Netcode.Editor,+Unity.Netcode.Runtime" --extra-editor-arg=--burst-disable-compilation --extra-editor-arg=testCategory --extra-editor-arg=!Performance --timeout=1800 --reruncount=1 --clean-library-on-rerun --artifacts-path=test-results
2020
artifacts:
2121
logs:
2222
paths:
23-
- "test-results/**/*"
2423
- "test-results/CodeCoverage/**/*"
2524
- "test-results/CoverageResults/**/*"
26-
- "**/**/*"
25+
- "test-results/**/coverage.xml"
26+
- "test-results/**/Report/**/*"
2727
dependencies:
2828
- .yamato/package-pack.yml#package_pack_-_ngo_{{ platform.name }}
2929
{% endfor -%}

0 commit comments

Comments
 (0)