36 lines
1000 B
YAML
36 lines
1000 B
YAML
name: 'Unity - Test runner'
|
|
author: Webber Takken <webber@takken.io>
|
|
description: 'Run tests for any Unity project.'
|
|
inputs:
|
|
unityVersion:
|
|
required: false
|
|
default: '2019.2.11f1'
|
|
description: 'Version of unity to use for testing the project.'
|
|
projectPath:
|
|
required: false
|
|
description: 'Path to the Unity project to be tested.'
|
|
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.'
|
|
useNetworkHost:
|
|
required: false
|
|
default: false
|
|
description: 'Initialises Docker using the hosts network.'
|
|
customParameters:
|
|
required: false
|
|
description: 'Extra parameters to configure the Unity editor run.'
|
|
outputs:
|
|
artifactsPath:
|
|
description: 'Path where the artifacts are stored'
|
|
branding:
|
|
icon: 'box'
|
|
color: 'gray-dark'
|
|
runs:
|
|
using: 'node12'
|
|
main: 'action/index.js'
|