Skip to content

Commit

Permalink
Add Unity 2022 Test Support (#178)
Browse files Browse the repository at this point in the history
## Description

Enable tests on Unity 2022

## Changes
* ![IMPROVE] Enable tests on Unity 2022
  • Loading branch information
pletoss authored Mar 9, 2023
1 parent 2a72e9a commit 3ecc66f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/groovy/wooga/gradle/unity/tasks/Test.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ abstract class Test extends UnityTask implements UnityTestSpec {
protected void preExecute() {
super.preExecute()
if ((unityVersion.majorVersion == 5 && unityVersion.minorVersion == 6)
|| unityVersion.majorVersion <= 2021) {
|| unityVersion.majorVersion <= 2022) {

// BatchMode for tests was broken for unity 2017 and below
if (unityVersion.majorVersion < 2018) {
Expand Down

0 comments on commit 3ecc66f

Please sign in to comment.