Skip to content

Commit

Permalink
Create workflow for testing ci
Browse files Browse the repository at this point in the history
  • Loading branch information
cheonjaeung committed Jun 30, 2023
1 parent 4c3bbe6 commit 1309998
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: ci

on: push

jobs:
build:
runs-on: macos-latest
if: github.repository == 'cheonjaewoong/compose-grid'
strategy:
matrix:
api: [21, 23, 29]
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Validate gradle wrapper
uses: gradle/wrapper-validation-action@v1

- name: Setup jdk
uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: 8

- name: Run UI tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ matrix.api }}
script: ./gradlew connectedDebugAndroidTest --stacktrace

0 comments on commit 1309998

Please sign in to comment.