1+ # ┌──────────────────────────────────────────────────────────────────┐
2+ # │ Author: Ivan Murzak (https://github.com/IvanMurzak) │
3+ # │ Repository: GitHub (https://github.com/IvanMurzak/Unity-MCP) │
4+ # │ Copyright (c) 2025 Ivan Murzak │
5+ # │ Licensed under the Apache License, Version 2.0. │
6+ # │ See the LICENSE file in the project root for more information. │
7+ # └──────────────────────────────────────────────────────────────────┘
8+
19name : test-unity-plugin
210
311# #############################################################################
@@ -6,12 +14,12 @@ name: test-unity-plugin
614on :
715 workflow_call :
816 inputs :
9- projectPath : { required: true, type: string }
10- unityVersion : { required: true, type: string }
11- testMode : { required: true, type: string }
17+ projectPath : { required: true, type: string }
18+ unityVersion : { required: true, type: string }
19+ testMode : { required: true, type: string }
1220 secrets :
13- UNITY_LICENSE : { required: true }
14- UNITY_EMAIL : { required: true }
21+ UNITY_LICENSE : { required: true }
22+ UNITY_EMAIL : { required: true }
1523 UNITY_PASSWORD : { required: true }
1624
1725# #############################################################################
@@ -81,22 +89,22 @@ jobs:
8189 - uses : game-ci/unity-test-runner@v4
8290 id : tests
8391 env :
84- UNITY_LICENSE : ${{ secrets.UNITY_LICENSE }}
85- UNITY_EMAIL : ${{ secrets.UNITY_EMAIL }}
92+ UNITY_LICENSE : ${{ secrets.UNITY_LICENSE }}
93+ UNITY_EMAIL : ${{ secrets.UNITY_EMAIL }}
8694 UNITY_PASSWORD : ${{ secrets.UNITY_PASSWORD }}
8795 with :
88- projectPath : ${{ inputs.projectPath }}
89- unityVersion : ${{ inputs.unityVersion }}
90- testMode : ${{ inputs.testMode }}
91- customImage : ${{ steps.custom_image.outputs.image }}
92- githubToken : ${{ secrets.GITHUB_TOKEN }}
93- checkName : ${{ inputs.unityVersion }} ${{ inputs.testMode }} ${{ matrix.platform }} Test Results
94- artifactsPath : artifacts-${{ inputs.unityVersion }}-${{ inputs.testMode }}-${{ matrix.platform }}
96+ projectPath : ${{ inputs.projectPath }}
97+ unityVersion : ${{ inputs.unityVersion }}
98+ testMode : ${{ inputs.testMode }}
99+ customImage : ${{ steps.custom_image.outputs.image }}
100+ githubToken : ${{ secrets.GITHUB_TOKEN }}
101+ checkName : ${{ inputs.unityVersion }} ${{ inputs.testMode }} ${{ matrix.platform }} Test Results
102+ artifactsPath : artifacts-${{ inputs.unityVersion }}-${{ inputs.testMode }}-${{ matrix.platform }}
95103 customParameters : -CI true -GITHUB_ACTIONS true
96104
97105 # --------------------------------------------------------------------- #
98106 - uses : actions/upload-artifact@v4
99107 if : always()
100108 with :
101109 name : Test results for ${{ inputs.unityVersion }} ${{ inputs.testMode }} on ${{ matrix.platform }}
102- path : ${{ steps.tests.outputs.artifactsPath }}
110+ path : ${{ steps.tests.outputs.artifactsPath }}
0 commit comments