Documenta o pinch-to-zoom no README e no site #46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Tests | |
| # Nothing checked pull requests before this — a branch that didn't compile, or a | |
| # unit test that broke, only surfaced whenever someone happened to build locally. | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| # A superseded run tells us nothing, so drop in-flight runs for the same ref. | |
| concurrency: | |
| group: tests-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| android: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: "17" | |
| cache: gradle | |
| - name: Unit tests | |
| run: ./gradlew testDebugUnitTest | |
| - name: Coverage (95% minimum on pure logic — see CLAUDE.md) | |
| run: ./gradlew jacocoCoverageVerification | |
| - name: Build debug APK | |
| run: ./gradlew assembleDebug |