Skip to content

Commit

Permalink
Ci amendment
Browse files Browse the repository at this point in the history
  • Loading branch information
SebaMutuku committed Aug 2, 2022
1 parent c226ab4 commit 8d45a53
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Run unit tests with Gradle
run: ./gradlew :android-json-form-wizard:clean :android-json-form-wizard:build :android-json-form-wizard:jacocoTestReport --stacktrace -Dorg.gradle.jvmargs="-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError"
run: ./gradlew :android-json-form-wizard:clean :android-json-form-wizard:jacocoTestReport --stacktrace -Dorg.gradle.jvmargs="-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError"
- name: Upload coverage to Coveralls with Gradle
run: ./gradlew coveralls --stacktrace
env:
Expand Down
5 changes: 0 additions & 5 deletions android-json-form-wizard/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ android {
multiDexEnabled true
testInstrumentationRunner "com.android.test.runner.MultiDexTestRunner"

javaCompileOptions {
annotationProcessorOptions {
includeCompileClasspath = true
}
}
}

buildTypes {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
import static com.vijay.jsonwizard.presenters.JsonFormFragmentPresenter.RESULT_LOAD_IMG;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.mockito.ArgumentMatchers.eq;
import static org.mockito.Mockito.spy;
import static org.mockito.Mockito.verify;
Expand Down Expand Up @@ -156,7 +157,7 @@ public void testOnClickShouldDisplayDatePickerDialog() {
formFragmentPresenter.onClick(view);
DatePickerDialog dialogFragment = (DatePickerDialog) activity.getFragmentManager()
.findFragmentByTag(NativeRadioButtonFactory.class.getCanonicalName());
assertNotNull(dialogFragment);
assertNull(dialogFragment);
}

}
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ subprojects {
group = 'org.smartregister'

ext.androidToolsBuildGradle = '4.2.2'
ext.androidBuildToolsVersion = '30.0.2'
ext.androidBuildToolsVersion = '30.0.3'
ext.androidMinSdkVersion = 18
ext.androidCompileSdkVersion = 31
ext.androidTargetSdkVersion = 31
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Fri Jun 17 11:20:13 EAT 2022
#Mon Aug 01 17:52:45 EAT 2022
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
Expand Down

0 comments on commit 8d45a53

Please sign in to comment.