File tree Expand file tree Collapse file tree 6 files changed +31
-120
lines changed
kotlin/org/neotech/plugin/rootcoverage
test-fixtures/multi-module Expand file tree Collapse file tree 6 files changed +31
-120
lines changed Original file line number Diff line number Diff line change
1
+ name : Build
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ build :
7
+ timeout-minutes : 40
8
+ runs-on : macOS-latest
9
+ steps :
10
+ - name : checkout
11
+ uses : actions/checkout@v2
12
+ - uses : actions/setup-java@v1
13
+ with :
14
+ # Robolectric requires Java 9 to emulate Android API level 30
15
+ java-version : ' 9'
16
+ - name : test
17
+ uses : reactivecircus/android-emulator-runner@v2
18
+ with :
19
+ api-level : 28
20
+ script : ./gradlew clean test --stacktrace
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
[ ![ Gradle Plugin Portal] ( https://img.shields.io/maven-metadata/v/https/plugins.gradle.org/m2/nl.neotech.plugin/android-root-coverage-plugin/maven-metadata.xml.svg?label=Gradle%20Plugin%20Portal )] ( https://plugins.gradle.org/plugin/nl.neotech.plugin.rootcoverage )
2
2
[ ![ Maven Central] ( https://img.shields.io/maven-central/v/nl.neotech.plugin/android-root-coverage-plugin?label=Maven%20Central )] ( https://search.maven.org/artifact/nl.neotech.plugin/android-root-coverage-plugin )
3
- [ ![ Build status ] ( https://travis-ci .com/NeoTech-Software/Android-Root-Coverage-Plugin. svg?branch=master )] ( https://travis-ci .com/NeoTech-Software/Android-Root-Coverage-Plugin/ )
3
+ [ ![ Build] ( https://github .com/NeoTech-Software/Android-Root-Coverage-Plugin/actions/workflows/build.yml/badge. svg )] ( https://github .com/NeoTech-Software/Android-Root-Coverage-Plugin/actions/workflows/build.yml )
4
4
5
5
# Android-Root-Coverage-Plugin
6
6
** A Gradle plugin for combined code coverage reports for Android projects.**
Original file line number Diff line number Diff line change @@ -37,8 +37,11 @@ publishing {
37
37
name = " mavenCentral"
38
38
credentials {
39
39
Properties properties = new Properties ()
40
- properties. load(project. rootProject. file(' local.properties' ). newDataInputStream())
41
-
40
+ try {
41
+ properties. load(project. rootProject. file(' local.properties' ). newDataInputStream())
42
+ } catch (FileNotFoundException ignored) {
43
+ logger. warn(" local.properties file with ossrhUsername and ossrhPassword properties was not found." )
44
+ }
42
45
username = properties. getProperty(" ossrhUsername" )
43
46
password = properties. getProperty(" ossrhPassword" )
44
47
}
Original file line number Diff line number Diff line change @@ -33,8 +33,6 @@ class IntegrationTest(
33
33
.withProjectDir(projectRoot)
34
34
.withGradleVersion(gradleVersion)
35
35
.withPluginClasspath()
36
- // Without forwardOutput Travis CI could timeout (which happens when Travis receives
37
- // no output for more than 10 minutes)
38
36
.forwardStdOutput(SystemOutputWriter .out ())
39
37
.forwardStdError(SystemOutputWriter .err())
40
38
Original file line number Diff line number Diff line change @@ -26,6 +26,11 @@ allprojects {
26
26
google()
27
27
mavenCentral()
28
28
}
29
+ tasks. withType(Test ) {
30
+ testLogging {
31
+ exceptionFormat " full"
32
+ }
33
+ }
29
34
}
30
35
31
36
task clean (type : Delete ) {
You can’t perform that action at this time.
0 commit comments