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
3ba263a3af
Bumps [ssh2](https://github.com/mscdex/ssh2) to 1.11.0 and updates ancestor dependency [dockerode](https://github.com/apocas/dockerode). These dependencies need to be updated together. Updates `ssh2` from 0.8.9 to 1.11.0 - [Release notes](https://github.com/mscdex/ssh2/releases) - [Commits](https://github.com/mscdex/ssh2/compare/v0.8.9...v1.11.0) Updates `dockerode` from 3.2.1 to 3.3.5 - [Release notes](https://github.com/apocas/dockerode/releases) - [Commits](https://github.com/apocas/dockerode/compare/v3.2.1...v3.3.5) --- updated-dependencies: - dependency-name: ssh2 dependency-type: indirect - dependency-name: dockerode 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.