Skip to content

Commit

Permalink
Update Build.yml
Browse files Browse the repository at this point in the history
- check spotless
- unit test
- Instrumentation test
  • Loading branch information
Jaehwa-Noh authored May 14, 2024
1 parent 1a31ae9 commit 4ec3cc9
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,19 @@ jobs:

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Enable KVM group perms
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout
uses: actions/checkout@v4

- name: Gradle Wrapper Validation
uses: gradle/[email protected]

- name: SetUp Java
uses: actions/setup-java@v4
with:
Expand All @@ -37,4 +46,17 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3

- name: Check spotless
run: ./gradlew spotlessApply

- name: Run unit test
run: ./gradlew test

- name: Run instrumentation test
uses: ReactiveCircus/[email protected]
with:
api-level: 34
script: ./gradlew connectedAndroidTest



0 comments on commit 4ec3cc9

Please sign in to comment.