Files
ScrobbledAndroid/.gitea/workflows/ci.yml
T
mattandClaude Sonnet 5.5 9dac03ccdb
CI / test (push) Successful in 2m9s
CI: skip setup-android's obsolete 'tools' package
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 11:01:00 +01:00

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