diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6f0f2ce7..dce2bfd9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,3 +17,12 @@ jobs: - uses: actions/checkout@v4 - run: npm ci - run: npm test + + # The shared Kotlin tests (tests/kotlin, on the JVM host). The runner image + # already carries the JDK 17 and Android SDK the build needs. + test-kotlin: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - run: npm ci + - run: npm run test:kotlin diff --git a/tests/tsconfig.json b/tests/tsconfig.json index b88019f9..c24890c2 100644 --- a/tests/tsconfig.json +++ b/tests/tsconfig.json @@ -47,6 +47,7 @@ "../app/apps/timer/timer-model.ts", "../app/apps/teleprompter/script-tracker.ts", "../app/apps/nightscout/nightscout-alerts.ts", - "../app/g2/brightness-curve.ts" + "../app/g2/brightness-curve.ts", + "../app/g2/events.ts" ] }