Skip to content

ci: Unity CI用のGitHub Actionsワークフローを追加#1

Merged
ayutaz merged 3 commits intomainfrom
feature/github-actions
Jan 15, 2026
Merged

ci: Unity CI用のGitHub Actionsワークフローを追加#1
ayutaz merged 3 commits intomainfrom
feature/github-actions

Conversation

@ayutaz
Copy link
Copy Markdown
Owner

@ayutaz ayutaz commented Jan 15, 2026

概要

  • GameCI を使用した Unity CI/CD の GitHub Actions ワークフローを追加
  • push/PR 時に EditMode テストを自動実行
  • テスト成功後に Windows (Mono) ビルドを作成

変更内容

  • .github/workflows/unity.yml - メインCIワークフロー
  • .github/workflows/README.md - セットアップドキュメント

必要なシークレット設定

ワークフローを実行するには、リポジトリ設定で以下のシークレットを設定してください:

  • UNITY_LICENSE(推奨)または
  • UNITY_EMAIL + UNITY_PASSWORD

テスト計画

  • テストジョブが正常に実行されることを確認
  • Windows ビルドジョブが正常に実行されることを確認

🤖 Generated with Claude Code

- Add unity.yml workflow with test and build jobs
- Run EditMode tests with GameCI unity-test-runner
- Build Windows (Mono) with GameCI unity-builder
- Add setup documentation for required secrets
- Note: ONNX models not tracked, some tests may fail in CI

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@ayutaz ayutaz changed the title ci: Add GitHub Actions workflow for Unity CI ci: Unity CI用のGitHub Actionsワークフローを追加 Jan 15, 2026
ayutaz and others added 2 commits January 15, 2026 14:35
- Add [Category("RequiresModels")] to 22 tests that require ONNX models
- Update workflow to exclude RequiresModels category with testFilter
- Tests will pass in CI without needing ~4GB of model files

Affected test files:
- AIInterfaceImportTest.cs (12 tests)
- FlowTests.cs (4 tests)
- HiFTTests.cs (2 tests)
- LLMTests.cs (4 tests)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Remove quotes and spaces from testFilter to avoid Docker
parsing issues with special characters.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@ayutaz ayutaz self-assigned this Jan 15, 2026
@ayutaz ayutaz merged commit 78a9a5a into main Jan 15, 2026
4 checks passed
@ayutaz ayutaz deleted the feature/github-actions branch January 15, 2026 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant