| unityVersion | Version of unity to use for testing the project. Use "auto" to get from your ProjectSettings/ProjectVersion.txt. ⚠️ If testing a Unity Package, this field is required and cannot be set to "auto". | no | auto |
| customImage | Specific docker image that should be used for testing the project. If packageMode is true, this image must have jq installed. | no | "" |
| projectPath | Path to the Unity project or package to be tested. | no | — |
| customParameters | Extra parameters to configure the Unity editor run. | no | — |
| testMode | The type of tests to be run by the test runner. | no | all |
| coverageOptions | Optional coverage parameters for the -coverageOptions argument. To get coverage in Package Mode, pass assemblies from the package you want covered to the assemblyFilters option. | no | generateAdditionalMetrics;generateHtmlReport;generateBadgeReport;dontClear |
| artifactsPath | Path where test artifacts should be stored. | no | artifacts |
| useHostNetwork | Initialises Docker using the host network. | no | false |
| sshAgent | SSH Agent path to forward to the container. | no | "" |
| sshPublicKeysDirectoryPath | Path to a directory containing SSH public keys to forward to the container. | no | "" |
| gitPrivateToken | GitHub Private Access Token (PAT) to pull from GitHub. | no | "" |
| githubToken | Token to authorize access to the GitHub REST API. If provided, a check run will be created with the test results. | no | "" |
| checkName | Name for the check run that is created when a github token is provided. | no | Test Results |
| packageMode | Whether the tests are being run for a Unity package instead of a Unity project. If true, the action can only be run on Linux runners, and any custom docker image passed to this action must have `jq` installed. NOTE: may not work properly for packages with dependencies outside of the Unity Registry. | no | false |
| scopedRegistryUrl | Scoped registry to use for resolving package dependencies. Only applicable if packageMode is true. | no | "" |
| registryScopes | Registry scopes to use for resolving package dependencies. Only applicable if packageMode is true. Required if scopedRegistry is set. | no | "" |
| chownFilesTo | User and optionally group (user or user:group or uid:gid) to give ownership of the resulting build artifacts | no | "" |
| dockerCpuLimit | Number of CPU cores to assign the docker container. Defaults to all available cores on all platforms. | no | "" |
| dockerMemoryLimit | Amount of memory to assign the docker container. Defaults to 95% of total system memory rounded down to the nearest megabyte on Linux and 80% on Windows. On unrecognized platforms, defaults to 75% of total system memory. To manually specify a value, use the format <number><unit>, where unit is either m or g. ie: 512m = 512 megabytes | no | "" |
| dockerIsolationMode | Isolation mode to use for the docker container. Can be one of process, hyperv, or default. Default will pick the default mode as described by Microsoft where server versions use process and desktop versions use hyperv. Only applicable on Windows | no | default |
| unityLicensingServer | Url to a unity license server for acquiring floating licenses. | no | "" |
| containerRegistryRepository | Container registry and repository to pull image from. Only applicable if customImage is not set. | no | unityci/editor |
| containerRegistryImageVersion | Container registry image version. Only applicable if customImage is not set. | no | 3 |
| runAsHostUser | Whether to run as a user that matches the host system or the default root container user. Only applicable to Linux hosts and containers. This is useful for fixing permission errors on Self-Hosted runners. | no | false |