From 09cf846a379efd2060cd0c256b6988b79019179e Mon Sep 17 00:00:00 2001 From: Brahmanandam Date: Thu, 17 Mar 2022 16:20:08 +0530 Subject: [PATCH] Enabled test job in workflow --- .github/workflows/android_CI.yml | 40 ++++++++++++++++---------------- jetflow-library/build.gradle | 4 ++-- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/android_CI.yml b/.github/workflows/android_CI.yml index 8f52634..c0c2f47 100644 --- a/.github/workflows/android_CI.yml +++ b/.github/workflows/android_CI.yml @@ -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: diff --git a/jetflow-library/build.gradle b/jetflow-library/build.gradle index 5eded2a..c2d2377 100644 --- a/jetflow-library/build.gradle +++ b/jetflow-library/build.gradle @@ -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" }