-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/dev' into isa4563
- Loading branch information
Showing
40 changed files
with
830 additions
and
726 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 |
---|---|---|
|
@@ -5,15 +5,16 @@ on: | |
branches: | ||
- dev | ||
push: | ||
branches: | ||
branches: | ||
- dev | ||
- master | ||
|
||
jobs: | ||
build-and-test: | ||
build-and-test-jvm: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: gradle/wrapper-validation-action@v1 | ||
|
||
- name: create and checkout branch | ||
# push events already checked out the branch | ||
|
@@ -32,14 +33,39 @@ jobs: | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | ||
restore-keys: ${{ runner.os }}-gradle | ||
|
||
- name: Build debug APK and run Tests | ||
- name: Build debug APK and run jvm tests | ||
run: ./gradlew assembleDebug lintDebug testDebugUnitTest --stacktrace | ||
|
||
- name: Upload APK | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: app | ||
path: app/build/outputs/apk/debug/*.apk | ||
test-android: | ||
runs-on: macos-latest | ||
strategy: | ||
matrix: | ||
api-level: [21, 29] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: set up JDK 1.8 | ||
uses: actions/[email protected] | ||
with: | ||
java-version: 1.8 | ||
|
||
- name: Cache Gradle dependencies | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.gradle/caches | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | ||
restore-keys: ${{ runner.os }}-gradle | ||
|
||
- name: Run android tests | ||
uses: reactivecircus/android-emulator-runner@v2 | ||
with: | ||
api-level: ${{ matrix.api-level }} | ||
script: ./gradlew connectedCheck | ||
# sonar: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
|
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
Oops, something went wrong.