Skip to content

Commit

Permalink
Add GitHub Android Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Binnette committed Nov 19, 2024
1 parent ee97a0d commit ae56326
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Android CI

on:
push:
branches:
- main
- develop
pull_request:
branches:
- develop

jobs:
build:
name: Build and Test
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4.2.2

- name: Setup Java JDK
uses: actions/setup-java@v4.5.0
with:
distribution: 'temurin'
java-version: '17'
cache: 'gradle'

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build with Gradle
run: ./gradlew build --stacktrace

- name: Run unit tests
run: ./gradlew testDebugUnitTest --stacktrace

0 comments on commit ae56326

Please sign in to comment.