https://github.com/yeslayla/run-gut-tests-action
GitHub Action to run GUT tests for Godot
https://github.com/yeslayla/run-gut-tests-action
Last synced: about 1 month ago
JSON representation
GitHub Action to run GUT tests for Godot
- Host: GitHub
- URL: https://github.com/yeslayla/run-gut-tests-action
- Owner: yeslayla
- License: mit
- Created: 2020-07-25T20:49:39.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-04-21T04:22:54.000Z (about 2 years ago)
- Last Synced: 2025-03-19T02:02:20.420Z (2 months ago)
- Language: GDScript
- Homepage:
- Size: 778 KB
- Stars: 11
- Watchers: 2
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: ReadMe.md
- License: LICENSE
Awesome Lists containing this project
README
 
# Run GUT tests
This is an action that runs [GUT](https://github.com/bitwes/Gut) tests for Godot to easily automate testing.## Usage
This action will run [GUT](https://github.com/bitwes/Gut) tests inside of a docker image for your Godot project.
Example:
```yaml
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`:
```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](https://github.com/bitwes/Gut/wiki/Command-Line#config-file).