ci: run unit tests in two parallel forks (#1737)

* ci: run unit tests in two forks

* test: start spatial controller mode tests with glasses output selected
This commit is contained in:
Kurt Himebauch authored and GitHub committed 2026-10-28 17:35:11 -04:00
1 parent aef1f85aa9
commit 92787dd0f0
2 files changed
+4

No files matched your search

@@ -3,6 +3,7 @@ package com.droiddeck.launcher.glasses
import java.nio.ByteBuffer
import java.nio.ByteOrder
import org.junit.After
import org.junit.Before
import org.junit.Assert.*
import org.junit.Test
import org.junit.runner.RunWith
@@ -15,6 +16,8 @@ class SpatialControllerModeTest {
private fun snapshot(): ByteBuffer = (SpatialTracking::class.java.getDeclaredField("buffer")
.apply { isAccessible = true }.get(null) as ByteBuffer).duplicate().order(ByteOrder.LITTLE_ENDIAN)
@Before fun outputOnGlasses() = SpatialTracking.setOutputUsesGlasses(true)
@After fun cleanUp() {
SpatialTracking.setSteadyHandAim(false)
SpatialTracking.setControllers(false, false)