mirror of
https://github.com/yeslayla/run-gut-tests-action.git
synced 2025-01-13 12:33:41 +01:00
GitHub Action to run GUT tests for Godot
940145ad72
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.6 to 1.9.1. - [Release notes](https://github.com/actions/toolkit/releases) - [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md) - [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core) --- updated-dependencies: - dependency-name: "@actions/core" dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.github/workflows | ||
dist | ||
test_proj | ||
.gitignore | ||
action.yml | ||
LICENSE | ||
main.js | ||
package-lock.json | ||
package.json | ||
ReadMe.md |
Run GUT tests
This is an action that runs GUT tests for Godot to easily automate testing.
Usage
This action will run GUT tests inside of a docker image for your Godot project.
Example:
steps:
- uses: manleydev/run-gut-tests-action@[VERSION]
with:
directory: client
Inputs
containerImage
The docker image where GUT tests are inside of. Defaults to `barichello/godot-ci:latest`
directory
The name directory to run tests within. Defaults to the current directory.
useContainer
Boolean value of whether or not to run container. Defaults to `true`
godotExecutable
Path of Godot binary to call when running GUT tests. Defaults to `godot`
Configure GUT
This action requires you to configure GUT using the .gutconfig.json
file which would be located in the root directory of your project.
Here is an example .gutconfig.json
:
{
"dirs":[
"res://tests/"
],
"include_subdirs":true,
"ignore_pause":true,
"log_level":2,
"should_exit":true,
"should_maximize":false
}
For more information on the config file, see the GUT wiki.