diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2cc655b..ae6f012 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: 'enableCyclomaticComplexity;generateHtmlReport;generateBadgeReport;assemblyFilters:+MyScripts' + coverageOptions: 'generateAdditionalMetrics;generateHtmlReport;generateBadgeReport;assemblyFilters:+MyScripts' # Test implicit artifactsPath, by not setting it # Upload artifacts diff --git a/action.yml b/action.yml index 4758497..2b5b89f 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: 'enableCyclomaticComplexity;generateHtmlReport;generateBadgeReport' + default: 'generateAdditionalMetrics;generateHtmlReport;generateBadgeReport' description: 'Optional coverage parameters for the -coverageOptions argument.' artifactsPath: required: false diff --git a/unity-project-with-correct-tests/Packages/manifest.json b/unity-project-with-correct-tests/Packages/manifest.json index b446d87..da0cd61 100644 --- a/unity-project-with-correct-tests/Packages/manifest.json +++ b/unity-project-with-correct-tests/Packages/manifest.json @@ -6,7 +6,7 @@ "com.unity.ide.vscode": "1.1.2", "com.unity.package-manager-ui": "2.2.0", "com.unity.test-framework": "1.0.13", - "com.unity.testtools.codecoverage": "1.0.1", + "com.unity.testtools.codecoverage": "1.1.1", "com.unity.textmeshpro": "2.0.1", "com.unity.timeline": "1.1.0", "com.unity.ugui": "1.0.0",