CI / test (push) Successful in 2m9s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
29 lines
725 B
YAML
29 lines
725 B
YAML
name: CI
|
|
|
|
# Unit tests, lint and a debug build on every push and PR.
|
|
on:
|
|
push:
|
|
branches: ["**"]
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: https://github.com/actions/setup-java@v4
|
|
with:
|
|
distribution: temurin
|
|
java-version: "21"
|
|
- uses: https://github.com/android-actions/setup-android@v3
|
|
with:
|
|
# The default 'tools' package no longer exists; AGP fetches what it needs.
|
|
packages: ""
|
|
- name: Unit tests
|
|
run: ./gradlew testDebugUnitTest
|
|
- name: Lint
|
|
run: ./gradlew lintDebug
|
|
- name: Debug build
|
|
run: ./gradlew assembleDebug
|