File tree Expand file tree Collapse file tree 10 files changed +33
-22
lines changed
.idea/.idea.UnityTestExamples/.idea Expand file tree Collapse file tree 10 files changed +33
-22
lines changed Original file line number Diff line number Diff line change 33 - package-ecosystem : github-actions
44 directory : /
55 schedule :
6- interval : daily
6+ interval : weekly
Original file line number Diff line number Diff line change 1717jobs :
1818 actionlint :
1919 runs-on : ubuntu-latest
20+ timeout-minutes : 5
2021 permissions :
2122 contents : read
2223 actions : read
Original file line number Diff line number Diff line change 1313jobs :
1414 meta-check :
1515 runs-on : ubuntu-latest
16+ timeout-minutes : 5
1617 permissions :
1718 contents : read
1819 actions : read
2324 submodules : false
2425 lfs : false
2526
26- - uses : DeNA/unity-meta-check@v3
27+ - uses : DeNA/unity-meta-check@v4
2728
2829 - uses : 8398a7/action-slack@v3
2930 with :
Original file line number Diff line number Diff line change 2626 test :
2727 if : github.event.pull_request.head.repo.fork == false # Skip on public fork, because can not read secrets.
2828 runs-on : ${{ github.event.inputs.runner }}
29+ timeout-minutes : 15
2930 permissions :
3031 contents : read
3132 checks : write
@@ -45,12 +46,14 @@ jobs:
4546 submodules : false
4647 lfs : false
4748
48- - uses : buildjet/cache@v3
49+ - uses : buildjet/cache@v4
4950 with :
5051 path : Library
51- key : Library-${{ matrix.unityVersion }}
52+ key : Library-linux- ${{ matrix.unityVersion }}-${{ github.ref }}
5253 restore-keys : |
53- Library-
54+ Library-linux-${{ matrix.unityVersion }}
55+ Library-linux
56+ Library
5457
5558 - name : Set coverage assembly filters
5659 run : |
@@ -90,11 +93,12 @@ jobs:
9093 needs : test
9194 if : github.event.pull_request.head.repo.fork == false # Skip on public fork, because can not read secrets.
9295 runs-on : ubuntu-latest
96+ timeout-minutes : 5
9397 permissions :
9498 actions : read
9599
96100 steps :
97- - uses : Gamesight/slack-workflow-status@v1.2 .0
101+ - uses : Gamesight/slack-workflow-status@v1.3 .0
98102 with :
99103 repo_token : ${{ secrets.GITHUB_TOKEN }}
100104 slack_webhook_url : ${{ secrets.SLACK_WEBHOOK_URL }}
Original file line number Diff line number Diff line change 2626 test :
2727 if : github.event.pull_request.head.repo.fork == false # Skip on public fork, because can not read secrets.
2828 runs-on : ubuntu-latest
29+ timeout-minutes : 15
2930 permissions :
3031 contents : read
3132 checks : write
5253 - uses : actions/cache@v4
5354 with :
5455 path : Library
55- key : Library-${{ matrix.unityVersion }}
56+ key : Library-linux- ${{ matrix.unityVersion }}-${{ github.ref }}
5657 restore-keys : |
57- Library-
58+ Library-linux-${{ matrix.unityVersion }}
59+ Library-linux
60+ Library
5861
5962 - name : Set coverage assembly filters
6063 run : |
@@ -102,11 +105,12 @@ jobs:
102105 needs : test
103106 if : github.event.pull_request.head.repo.fork == false # Skip on public fork, because can not read secrets.
104107 runs-on : ubuntu-latest
108+ timeout-minutes : 5
105109 permissions :
106110 actions : read
107111
108112 steps :
109- - uses : Gamesight/slack-workflow-status@v1.2 .0
113+ - uses : Gamesight/slack-workflow-status@v1.3 .0
110114 with :
111115 repo_token : ${{ secrets.GITHUB_TOKEN }}
112116 slack_webhook_url : ${{ secrets.SLACK_WEBHOOK_URL }}
Original file line number Diff line number Diff line change @@ -3,16 +3,21 @@ coverage:
33 if : true
44 paths :
55 - ./Logs/Report/lcov.info # Warning: This path is replace by regex in test.yml
6+
67codeToTestRatio :
78 code :
89 - ' Assets/**/*.cs'
910 - ' Packages/**/*.cs'
10- - ' !**/Tests/**/*.cs'
11+ - ' LocalPackages/**/*.cs'
12+ - ' !**/Tests/**'
1113 test :
1214 - ' **/Tests/**/*.cs'
15+ - ' !Library/**'
16+
1317testExecutionTime :
1418 if : true
1519diff :
20+
1621 datastores :
1722 - artifact://${GITHUB_REPOSITORY}
1823
Original file line number Diff line number Diff line change 4949
5050define base_arguments
5151-projectPath $(PROJECT_HOME ) \
52- -logFile $(LOG_DIR ) /test_ $(TEST_PLATFORM ) .log
52+ -logFile $(LOG_DIR ) /$(TEST_PLATFORM ) .log
5353endef
5454
5555define test_arguments
@@ -62,7 +62,9 @@ $(TEST_CATEGORY) \
6262$(TEST_FILTER ) \
6363$(ASSEMBLY_NAMES ) \
6464-testPlatform $(TEST_PLATFORM ) \
65- -testResults $(LOG_DIR ) /test_$(TEST_PLATFORM ) _results.xml
65+ -testResults $(LOG_DIR ) /$(TEST_PLATFORM ) -results.xml \
66+ -testHelperJUnitResults $(LOG_DIR ) /$(TEST_PLATFORM ) -junit-results.xml \
67+ -testHelperScreenshotDirectory $(LOG_DIR ) /Screenshots
6668endef
6769
6870define test
Original file line number Diff line number Diff line change 1010 "com.unity.collab-proxy" : " 1.14.18" ,
1111 "com.unity.ide.rider" : " 3.0.26" ,
1212 "com.unity.ide.visualstudio" : " 2.0.22" ,
13- "com.unity.ide.vscode" : " 1.2.5" ,
1413 "com.unity.inputsystem" : " 1.7.0" ,
15- "com.unity.test-framework" : " 1.4.3 " ,
14+ "com.unity.test-framework" : " 1.4.5 " ,
1615 "com.unity.testframework.graphics" : " 7.17.0-exp.1" ,
1716 "com.unity.testtools.codecoverage" : " 1.2.4" ,
1817 "com.unity.textmeshpro" : " 2.1.6" ,
Original file line number Diff line number Diff line change 116116 },
117117 "url" : " https://packages.unity.com"
118118 },
119- "com.unity.ide.vscode" : {
120- "version" : " 1.2.5" ,
121- "depth" : 0 ,
122- "source" : " registry" ,
123- "dependencies" : {},
124- "url" : " https://packages.unity.com"
125- },
126119 "com.unity.inputsystem" : {
127120 "version" : " 1.7.0" ,
128121 "depth" : 0 ,
154147 "url" : " https://packages.unity.com"
155148 },
156149 "com.unity.test-framework" : {
157- "version" : " 1.4.3 " ,
150+ "version" : " 1.4.5 " ,
158151 "depth" : 0 ,
159152 "source" : " registry" ,
160153 "dependencies" : {
You can’t perform that action at this time.
0 commit comments