Skip to content

Commit

Permalink
Add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
iamoscarliang committed Sep 16, 2024
1 parent 41990d7 commit 852ca31
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Build
on: [ push ]

jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]

- name: Set up JDK 17
uses: actions/[email protected]
with:
java-version: '17'
distribution: 'adopt'

# Execute unit tests
- name: Unit Test
run: ./gradlew testDebugUnitTest
4 changes: 0 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
sourceSets {
// androidTest.java.srcDirs += "src/test-common/java"
// test.java.srcDirs += "src/test-common/java"
}
buildFeatures {
viewBinding true
}
Expand Down
1 change: 0 additions & 1 deletion feature/album/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
//file:noinspection
plugins {
alias libs.plugins.android.library
}
Expand Down
Empty file modified gradlew
100644 → 100755
Empty file.

0 comments on commit 852ca31

Please sign in to comment.