GGua 日本語リファレンスEnglishGitHub ↗
英語版が正式な参照です。内容に差異がある場合は、英語版を優先してください。
DOCS / CI

GitHub Actions

link1345/gua-testerは、Godot GDScriptプロジェクトのGua UIテストをWindows runnerで実行するための公開GitHub Actionです。

処理内容

  1. .NET SDKとGodotを準備

    指定バージョンのWindows版Godotを取得し、GODOT_EXECUTABLEを設定します。

  2. Guaアドオンを配置

    Gua Releasesから最新または指定タグのgodot-plugin-*を取得し、<project-path>/addons/guaへコピーします。

  3. .NETテストを実行

    テストプロジェクトをrestoreし、指定configurationとloggerでdotnet testを実行します。

入力

test-project(必須)

Gua.Testing.Godotを参照するテスト用.csprojへのパスです。

project-path

Godotプロジェクトのパスです。既定値はgameです。

godot-version / godot-status

既定値は4.7stableです。rc・devも指定できます。

dotnet-version

外部テストrunnerのSDKです。既定値は10.0.xです。

gua-plugin-tag

特定のgodot-plugin-*タグへ固定します。空なら最新の該当Releaseです。

configuration / test-logger

既定値はReleasetrx;LogFileName=godot-gdscript.trxです。

高度な上書きとして、godot-executable-suffix(既定win64.exe)、gua-repository(既定link1345/gua)、gua-plugin-asset-pattern(既定gua-godot-plugin-*.zip)も指定できます。

出力

godot-executable

取得したGodot実行ファイルの絶対パスです。

addon-path

アドオンの配置先で、<project-path>/addons/guaです。

構成Actionを個別に使う

Godotだけ準備yaml
- uses: link1345/gua-tester/setup-godot@v1.2
  with:
    godot-version: "4.7"
    godot-status: stable
Guaアドオンだけ配置yaml
- uses: link1345/gua-tester/link-gua-gdscript-addon@v1.2
  with:
    project-path: game