Skip to content

Commit 864f6e4

Browse files
Merge pull request #206 from Preponderous-Software/copilot/sub-pr-205
Fix EntityId ambiguity, replace CI test runner, restore Legacy Input Manager, and upgrade to Unity 6
2 parents cae7d63 + 4dacbb5 commit 864f6e4

6 files changed

Lines changed: 11 additions & 9 deletions

File tree

.github/workflows/unity-ci.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ jobs:
8585
runs-on: ubuntu-latest
8686
permissions:
8787
contents: read
88-
checks: write
8988
steps:
9089
- name: Checkout Repository
9190
uses: actions/checkout@v4
@@ -101,15 +100,15 @@ jobs:
101100
Library-
102101
103102
- name: Run Tests
104-
uses: game-ci/unity-test-runner@v4
103+
uses: game-ci/unity-builder@v4
105104
env:
106105
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
107106
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
108107
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
109108
with:
110-
unityVersion: 2022.3.7f1
111-
githubToken: ${{ secrets.GITHUB_TOKEN }}
112-
checkName: Unity Test Results
109+
unityVersion: 6000.0.30f1
110+
targetPlatform: StandaloneLinux64
111+
customParameters: -batchmode -nographics -quit -executeMethod beyondnationstests.Tests.runTests
113112

114113
- name: Upload Test Results
115114
uses: actions/upload-artifact@v4
@@ -149,7 +148,7 @@ jobs:
149148
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
150149
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
151150
with:
152-
unityVersion: 2022.3.7f1
151+
unityVersion: 6000.0.30f1
153152
targetPlatform: ${{ matrix.targetPlatform }}
154153

155154
- name: Upload Build

Assets/Scripts/Tests/nation/TestNation.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using UnityEngine;
22

33
using beyondnations;
4+
using EntityId = beyondnations.EntityId;
45

56
namespace beyondnationstests {
67

Assets/Scripts/Tests/nation/TestNationRepository.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using UnityEngine;
22

33
using beyondnations;
4+
using EntityId = beyondnations.EntityId;
45

56
namespace beyondnationstests {
67

Packages/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"com.unity.ide.rider": "3.0.24",
66
"com.unity.ide.visualstudio": "2.0.18",
77
"com.unity.ide.vscode": "1.2.5",
8-
"com.unity.render-pipelines.universal": "14.0.8",
8+
"com.unity.render-pipelines.universal": "17.0.3",
99
"com.unity.test-framework": "1.1.33",
1010
"com.unity.textmeshpro": "3.0.6",
1111
"com.unity.timeline": "1.7.5",

ProjectSettings/ProjectSettings.asset

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -695,3 +695,4 @@ PlayerSettings:
695695
cloudEnabled: 0
696696
legacyClampBlendShapeWeights: 0
697697
virtualTexturingSupportEnabled: 0
698+
activeInputHandler: 0

ProjectSettings/ProjectVersion.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
m_EditorVersion: 2022.3.7f1
2-
m_EditorVersionWithRevision: 2022.3.7f1 (b16b3b16c7a0)
1+
m_EditorVersion: 6000.0.30f1
2+
m_EditorVersionWithRevision: 6000.0.30f1 (4f6d4e0c15e9)

0 commit comments

Comments
 (0)