forked from Blendman974/faceclaw
Merge pull request #39 from jmomakesstuff/fix-test-build-events
Compile events.ts for the tests, and run the Kotlin tests in CI
This commit is contained in:
2 files changed
+11
-1
No files matched your search
@@ -17,3 +17,12 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm test
|
- 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
|
||||||
+2
-1
@@ -47,6 +47,7 @@
|
|||||||
"../app/apps/timer/timer-model.ts",
|
"../app/apps/timer/timer-model.ts",
|
||||||
"../app/apps/teleprompter/script-tracker.ts",
|
"../app/apps/teleprompter/script-tracker.ts",
|
||||||
"../app/apps/nightscout/nightscout-alerts.ts",
|
"../app/apps/nightscout/nightscout-alerts.ts",
|
||||||
"../app/g2/brightness-curve.ts"
|
"../app/g2/brightness-curve.ts",
|
||||||
|
"../app/g2/events.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user