Skip to content

Commit

Permalink
Enabled test job in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
puttabrahmam committed Mar 17, 2022
1 parent c3f454d commit 09cf846
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/android_CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,26 @@ on:
branches: [ main ]

jobs:
# test:
# name: Run Unit Tests
# runs-on: macos-latest

# steps:
# - uses: actions/checkout@v2
# - name: set up JDK 11
# uses: actions/setup-java@v2
# with:
# java-version: 11
# distribution: 'temurin'
# cache: gradle
# - name: Unit tests
# uses: ReactiveCircus/android-emulator-runner@v2.14.3
# with:
# api-level: 29
# script: ./gradlew connectedCheck
# - uses: codecov/codecov-action@v2
# with:
# fail_ci_if_error: true # optional (default = false)
test:
name: Run Unit Tests
runs-on: macos-latest

steps:
- uses: actions/checkout@v2
- name: set up JDK 11
uses: actions/setup-java@v2
with:
java-version: 11
distribution: 'temurin'
cache: gradle
- name: Unit tests
uses: ReactiveCircus/android-emulator-runner@v2.14.3
with:
api-level: 29
script: ./gradlew connectedCheck
- uses: codecov/codecov-action@v2
with:
fail_ci_if_error: true # optional (default = false)


build:
Expand Down
4 changes: 2 additions & 2 deletions jetflow-library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ android {
defaultConfig {
minSdk 21
targetSdk 31
versionCode 2
versionName "0.0.2"
versionCode 3
versionName "0.0.3"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}
Expand Down

0 comments on commit 09cf846

Please sign in to comment.