forked from game-ci/unity-test-runner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
58 lines (58 loc) · 1.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
name: 'Unity - Test runner'
author: Webber Takken <[email protected]>
description: 'Run tests for any Unity project.'
inputs:
unityVersion:
required: false
default: 'auto'
description: 'Version of unity to use for testing the project. Use "auto" to get from your ProjectSettings/ProjectVersion.txt'
customImage:
required: false
default: ''
description: 'Specific docker image that should be used for testing the project'
chownFilesTo:
required: false
description: 'User and optionally group (user or user:group or uid:gid) to give ownership of the resulting build artifacts.'
projectPath:
required: false
description: 'Path to the Unity project to be tested.'
customParameters:
required: false
description: 'Extra parameters to configure the Unity editor run.'
testMode:
required: false
default: 'all'
description: 'The type of tests to be run by the test runner.'
artifactsPath:
required: false
default: 'artifacts'
description: 'Path where test artifacts should be stored.'
useHostNetwork:
required: false
default: false
description: 'Initialises Docker using the host network.'
sshAgent:
required: false
default: ''
description: 'SSH Agent path to forward to the container.'
gitPrivateToken:
required: false
default: ''
description: 'GitHub Private Access Token (PAT) to pull from GitHub.'
githubToken:
required: false
default: ''
description: 'Token to authorize access to the GitHub REST API. If provided, a check run will be created with the test results.'
checkName:
required: false
default: 'Test Results'
description: 'Name for the check run that is created when a github token is provided.'
outputs:
artifactsPath:
description: 'Path where the artifacts are stored'
branding:
icon: 'box'
color: 'gray-dark'
runs:
using: 'node12'
main: 'dist/index.js'