4747 - 2022.3.42f1
4848 - 2023.2.20f1
4949 - 6000.0.22f1
50+ testMode :
51+ - All # run tests in editor
5052 include :
5153 - unityVersion : 2019.4.40f1
5254 octocov : true
55+ - unityVersion : 2023.2.20f1
56+ testMode : Standalone # run tests on player
5357
5458 steps :
5559 - name : Checkout repository
@@ -82,10 +86,11 @@ jobs:
8286 with :
8387 githubToken : ${{ secrets.GITHUB_TOKEN }}
8488 unityVersion : ${{ matrix.unityVersion }} # Default is `auto`
85- checkName : test result (${{ matrix.unityVersion }})
89+ checkName : test result (${{ matrix.unityVersion }}, ${{ matrix.testMode }} )
8690 customParameters : -testCategory "!IgnoreCI;!Integration"
8791 coverageOptions : generateAdditionalMetrics;generateTestReferences;generateHtmlReport;generateAdditionalReports;dontClear;assemblyFilters:${{ env.assembly_filters }}
8892 # see: https://docs.unity3d.com/Packages/com.unity.testtools.codecoverage@1.2/manual/CoverageBatchmode.html
93+ testMode : ${{ matrix.testMode }}
8994 env :
9095 UNITY_LICENSE : ${{ secrets[env.secret_key] }}
9196 UNITY_EMAIL : ${{ secrets.UNITY_EMAIL }}
@@ -103,7 +108,7 @@ jobs:
103108 - name : Upload test results
104109 uses : actions/upload-artifact@v4
105110 with :
106- name : TestResults-Unity${{ matrix.unityVersion }}
111+ name : TestResults-Unity${{ matrix.unityVersion }}-${{ matrix.testMode }}
107112 path : |
108113 ${{ steps.test.outputs.artifactsPath }}
109114 ${{ steps.test.outputs.coveragePath }}
0 commit comments