Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,13 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true

permissions:
contents: write # Needed for git-auto-commit-action

jobs:
build_test_lint:
name: "Build, Test, and Lint"
runs-on: ubuntu-latest
timeout-minutes: 60
permissions:
contents: write # Needed for git-auto-commit-action

steps:
- name: Checkout code
Expand All @@ -40,9 +39,6 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build debug APK
run: ./gradlew assembleDebug --no-configuration-cache

- name: Apply Spotless
run: ./gradlew spotlessApply --init-script gradle/init.gradle.kts --no-configuration-cache

Expand All @@ -52,6 +48,9 @@ jobs:
commit_message: 🤖 Apply Spotless formatting
file_pattern: '**/*.kt **/*.kts **/*.java **/*.xml'

- name: Build debug APK
run: ./gradlew assembleDebug --no-configuration-cache

- name: Verify Screenshot Tests (AndroidX)
run: ./gradlew validateDebugScreenshotTest

Expand Down Expand Up @@ -143,4 +142,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: test-reports-${{ matrix.api-level }}
path: '**/build/reports/androidTests'
path: '**/build/reports/androidTests'