-
Notifications
You must be signed in to change notification settings - Fork 38
/
action.yml
79 lines (63 loc) · 2.88 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
name: "vstest-action"
description: "Run VSTest and upload result logs"
inputs:
testAssembly:
description: "Run tests from the specified files"
required: true
default: '**\\*test*.dll\n!**\\*TestAdapter.dll\n!**\\obj\\**'
searchFolder:
description: "Folder to search for the test assemblies"
required: true
testFiltercriteria:
description: "Additional criteria to filter tests from Test assemblies"
required: false
vstestLocationMethod:
description: 'Specify which test platform should be used. Valid values are: `version` and `location`)'
required: false
vsTestVersion:
description: "The version of Visual Studio test to use. If latest is specified it chooses Visual Studio 2017 or Visual Studio 2015 depending on what is installed. Visual Studio 2013 is not supported. Valid values are: `latest`, `14.0`, `15.0`, and `16.0`"
required: false
vstestLocation:
description: "Specify the path to VSTest"
required: false
runSettingsFile:
description: "Path to runsettings or testsettings file to use with the tests"
required: false
pathToCustomTestAdapters:
description: "Directory path to custom test adapters. Adapters residing in the same folder as the test assemblies are automatically discovered"
required: false
runInParallel:
description: "If set, tests will run in parallel leveraging available cores of the machine. This will override the MaxCpuCount if specified in your runsettings file. Valid values are: `true` and `false`"
required: false
runTestsInIsolation:
description: "Runs the tests in an isolated process. This makes vstest.console.exe process less likely to be stopped on an error in the tests, but tests might run slower. Valid values are: `true` and `false`"
required: false
codeCoverageEnabled:
description: "Collect code coverage information from the test run"
required: false
otherConsoleOptions:
description: "Other console options that can be passed to vstest.console.exe"
required: false
platform:
description: "Build platform against which the tests should be reported. Valid values are: `x86`, `x64`, and `ARM`"
required: false
resultLogsArtifactName:
description: "Test result logs artifact name"
required: true
default: "vs-test-result-logs"
ifNoFilesFound:
description: >
The desired behavior if no files are found using the provided path.
Available Options:
warn: Output a warning but do not fail the action
error: Fail the action with an error message
ignore: Do not output any warnings or errors, the action does not fail
default: "warn"
retentionDays:
description: >
Duration after which artifact will expire in days. 0 means using default retention.
Minimum 1 day.
Maximum 90 days unless changed from the repository settings page.
runs:
using: "node12"
main: "dist/index.js"