Files
faceclaw/.github/workflows/tests.yml
T
JMO 9de46878b0 Run the Kotlin tests in CI
npm run test:kotlin covers the shared Kotlin (protocol, flash prompt, OTA, compositor) and was not run by any workflow.
2026-09-25 08:22:25 -07:00

29 lines
568 B
YAML

name: Tests
# Runs the test suite on pushes to main and on pull requests.
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- 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