-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- check spotless - unit test - Instrumentation test
- Loading branch information
1 parent
1a31ae9
commit 4ec3cc9
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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 | ||
|
||
|
||
|