Skip to content
This repository has been archived by the owner on Mar 2, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3 from cheonjaewoong/setup-ci-test
Browse files Browse the repository at this point in the history
Setup ci for testing
  • Loading branch information
cheonjaeung authored Dec 1, 2022
2 parents d6da8dc + 97167c7 commit 4bb4cdc
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ end_of_line = lf

[*.bat]
end_of_line = crlf

[*{yaml,yml}]
indent_size = 2
26 changes: 26 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: test

on: push

jobs:
instrumentation-test:
name: Instrumentation Test
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Set up jdk
uses: actions/setup-java@v2
with:
java-version: "11"
distribution: "adopt"

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

- name: Run tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
script: ./gradlew savedstate-ktx:connectedCheck --stacktrace

0 comments on commit 4bb4cdc

Please sign in to comment.