1
- name : GradleCI
1
+ name : " jacoco coveralls Gradle CI "
2
2
3
- # on:
4
- # push:
5
- # branches: [ githubactions ]
6
- # pull_request:
7
- # branches: [ githubactions ]
8
- on : [push, pull_request]
3
+ on :
4
+ push :
5
+ branches : [ main ]
6
+ schedule :
7
+ - cron : ' 0 0 1 * *' # #execution of a task in the first minute of the month
9
8
10
- jobs :
11
- # build:
12
9
13
- gradle-jacoco-junit-codecov :
14
- runs-on : ubuntu-latest
15
- steps :
16
- - uses : actions/checkout@v1
17
- - name : os fingerprinting
18
- run : hostnamectl status
19
- - name : Set up JDK 1.8
20
- uses : actions/setup-java@v1
21
- with :
22
- java-version : 1.8
23
- - name : " build gradle w jacoco junit codecov on bionic arm64"
24
- run : |
25
- cd app7 && chmod +x gradlew
26
- ./gradlew check
27
- ./gradlew codeCoverageReport
28
- bash <(curl -s https://codecov.io/bash)
29
- # - name: Change dir
30
- # run: cd app7 && chmod +x gradlew
31
- # - name: Run Checks
32
- # run: "cd app7 && ./gradlew check"
33
- # - name: Create codecov coverage report
34
- # run: "cd app6 && ./gradlew codeCoverageReport"
35
- # - name: Upload to codecov
36
- # run: "bash <(curl -s https://codecov.io/bash)"
37
10
38
- gradle-checkstyle-pmd-findbugs-blackduckcopilot :
39
- runs-on : ubuntu-latest
40
- steps :
41
- - uses : actions/checkout@v1
42
- - name : os fingerprinting
43
- run : hostnamectl status
44
- - name : Set up JDK 1.8
45
- uses : actions/setup-java@v1
46
- with :
47
- java-version : 1.8
48
- - name : " build gradle w checkstyle pmd findbugs blackduckcopilot on bionic arm64"
49
- run : |
50
- cd app6 && chmod +x gradlew
51
- ./gradlew clean check
52
- ./gradlew clean build
53
- bash <(curl -s https://copilot.blackducksoftware.com/ci/travis/scripts/upload)
54
- # - name: Change dir
55
- # run: cd app6 && chmod +x gradlew
56
- # - name: Run Checks
57
- # run: cd app6 && "./gradlew clean check"
58
- # - name: Buil Application
59
- # run: cd app6 && "./gradlew clean build"
60
- # - name: Upload to CoPilot
61
- # run: "bash <(curl -s https://copilot.blackducksoftw1are.com/ci/travis/scripts/upload)"
62
-
63
- gradle-make-findbugs-blackduckcopilot :
64
- runs-on : ubuntu-latest
65
- steps :
66
- - uses : actions/checkout@v1
67
- - name : os fingerprinting
68
- run : hostnamectl status
69
- - name : Set up JDK 1.8
70
- uses : actions/setup-java@v1
71
- with :
72
- java-version : 1.8
73
- - name : Build with Gradle
74
- run : sudo make deploy-app4
11
+ jobs :
12
+
75
13
76
14
gradle-make-jacoco-coveralls :
77
15
runs-on : ubuntu-latest
@@ -101,20 +39,4 @@ jobs:
101
39
- name : Build with Gradle
102
40
run : " ./gradlew clean build"
103
41
- name : Create jacoco coveralls report
104
- run : " ./gradlew jacocoTestReport coveralls"
105
-
106
- windows :
107
- runs-on : windows-latest
108
- steps :
109
- - name : Checkout
110
- uses : actions/checkout@v1
111
- - name : Run a one-line script
112
- run : echo Hello, world!
113
-
114
- macos :
115
- runs-on : macos-latest
116
- steps :
117
- - name : Checkout
118
- uses : actions/checkout@v1
119
- - name : Run a one-line script
120
- run : echo Hello, world!
42
+ run : " ./gradlew jacocoTestReport coveralls"
0 commit comments