Skip to content

Commit

Permalink
Merge pull request #67 from 2rabs/rt/add-pr-build
Browse files Browse the repository at this point in the history
💚 プルリクエスト時の CI を追加
  • Loading branch information
tatsutakein authored Nov 25, 2023
2 parents c5de8aa + 42598e8 commit f12c7ec
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "Android CI"

on:
pull_request_target:

# Cancel any current or previous job from the same PR
concurrency:
group: android-${{ github.head_ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
lfs: 'true'

- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17

- name: Setup Gradle
uses: gradle/[email protected]

- name: Unit Tests
run: ./gradlew :app:android:testDevDebugUnitTest

- name: Build
run: ./gradlew :app:android:assembleDevDebug

0 comments on commit f12c7ec

Please sign in to comment.