Changed eableCyclomaticComplexity to generateAdditionalMetrics (#183)

* Changed eableCyclomaticComplexity to generateAdditionalMetrics for coverageOptions

* updated codecoverage to version 1.1.1
pull/185/head v2.0.2
Nick Maltbie 2022-04-21 19:08:44 -04:00 committed by GitHub
parent 96562463cf
commit d95f760d49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -105,7 +105,7 @@ jobs:
projectPath: ${{ matrix.projectPath }} projectPath: ${{ matrix.projectPath }}
unityVersion: ${{ matrix.unityVersion }} unityVersion: ${{ matrix.unityVersion }}
testMode: all testMode: all
coverageOptions: 'enableCyclomaticComplexity;generateHtmlReport;generateBadgeReport;assemblyFilters:+MyScripts' coverageOptions: 'generateAdditionalMetrics;generateHtmlReport;generateBadgeReport;assemblyFilters:+MyScripts'
# Test implicit artifactsPath, by not setting it # Test implicit artifactsPath, by not setting it
# Upload artifacts # Upload artifacts

View File

@ -22,7 +22,7 @@ inputs:
description: 'The type of tests to be run by the test runner.' description: 'The type of tests to be run by the test runner.'
coverageOptions: coverageOptions:
required: false required: false
default: 'enableCyclomaticComplexity;generateHtmlReport;generateBadgeReport' default: 'generateAdditionalMetrics;generateHtmlReport;generateBadgeReport'
description: 'Optional coverage parameters for the -coverageOptions argument.' description: 'Optional coverage parameters for the -coverageOptions argument.'
artifactsPath: artifactsPath:
required: false required: false

View File

@ -6,7 +6,7 @@
"com.unity.ide.vscode": "1.1.2", "com.unity.ide.vscode": "1.1.2",
"com.unity.package-manager-ui": "2.2.0", "com.unity.package-manager-ui": "2.2.0",
"com.unity.test-framework": "1.0.13", "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.textmeshpro": "2.0.1",
"com.unity.timeline": "1.1.0", "com.unity.timeline": "1.1.0",
"com.unity.ugui": "1.0.0", "com.unity.ugui": "1.0.0",