From be0f55d3cf3dc7289e580d5f8b20a5b49d2a2d3b Mon Sep 17 00:00:00 2001 From: Nick Maltbie Date: Sat, 3 Dec 2022 16:21:13 -0800 Subject: [PATCH] Added dontClear coverage flag to default coverage options (#202) --- .github/workflows/main.yml | 2 +- action.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ae6f012..56e75cb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -105,7 +105,7 @@ jobs: projectPath: ${{ matrix.projectPath }} unityVersion: ${{ matrix.unityVersion }} testMode: all - coverageOptions: 'generateAdditionalMetrics;generateHtmlReport;generateBadgeReport;assemblyFilters:+MyScripts' + coverageOptions: 'generateAdditionalMetrics;generateHtmlReport;generateBadgeReport;assemblyFilters:+MyScripts;dontClear' # Test implicit artifactsPath, by not setting it # Upload artifacts diff --git a/action.yml b/action.yml index af13167..a8a383b 100644 --- a/action.yml +++ b/action.yml @@ -22,7 +22,7 @@ inputs: description: 'The type of tests to be run by the test runner.' coverageOptions: required: false - default: 'generateAdditionalMetrics;generateHtmlReport;generateBadgeReport' + default: 'generateAdditionalMetrics;generateHtmlReport;generateBadgeReport;dontClear' description: 'Optional coverage parameters for the -coverageOptions argument.' artifactsPath: required: false