Skip to content

Commit 8dfab06

Browse files
author
Your Name
committed
jacoco
1 parent 48fbd83 commit 8dfab06

File tree

3 files changed

+83
-87
lines changed

3 files changed

+83
-87
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: "checkstyle pmd findbugs blackduckcopilot Gradle CI"
2+
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
8+
9+
10+
11+
jobs:
12+
# build:
13+
14+
gradle-checkstyle-pmd-findbugs-blackduckcopilot:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v1
18+
- name: os fingerprinting
19+
run: hostnamectl status
20+
- name: Set up JDK 1.8
21+
uses: actions/setup-java@v1
22+
with:
23+
java-version: 1.8
24+
- name: "build gradle w checkstyle pmd findbugs blackduckcopilot on bionic arm64"
25+
run: |
26+
cd app6 && chmod +x gradlew
27+
./gradlew clean check
28+
./gradlew clean build
29+
bash <(curl -s https://copilot.blackducksoftware.com/ci/travis/scripts/upload)
30+
# - name: Change dir
31+
# run: cd app6 && chmod +x gradlew
32+
# - name: Run Checks
33+
# run: cd app6 && "./gradlew clean check"
34+
# - name: Buil Application
35+
# run: cd app6 && "./gradlew clean build"
36+
# - name: Upload to CoPilot
37+
# run: "bash <(curl -s https://copilot.blackducksoftw1are.com/ci/travis/scripts/upload)"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: "jacoco junit codecov Gradle CI"
2+
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
8+
9+
10+
11+
jobs:
12+
# build:
13+
14+
gradle-jacoco-junit-codecov:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v1
18+
- name: os fingerprinting
19+
run: hostnamectl status
20+
- name: Set up JDK 1.8
21+
uses: actions/setup-java@v1
22+
with:
23+
java-version: 1.8
24+
- name: "build gradle w jacoco junit codecov on bionic arm64"
25+
run: |
26+
cd app7 && chmod +x gradlew
27+
./gradlew check
28+
./gradlew codeCoverageReport
29+
bash <(curl -s https://codecov.io/bash)
30+
# - name: Change dir
31+
# run: cd app7 && chmod +x gradlew
32+
# - name: Run Checks
33+
# run: "cd app7 && ./gradlew check"
34+
# - name: Create codecov coverage report
35+
# run: "cd app6 && ./gradlew codeCoverageReport"
36+
# - name: Upload to codecov
37+
# run: "bash <(curl -s https://codecov.io/bash)"

.github/workflows/workflow.yml

+9-87
Original file line numberDiff line numberDiff line change
@@ -1,77 +1,15 @@
1-
name: GradleCI
1+
name: "jacoco coveralls Gradle CI"
22

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
98

10-
jobs:
11-
# build:
129

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)"
3710

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+
7513

7614
gradle-make-jacoco-coveralls:
7715
runs-on: ubuntu-latest
@@ -101,20 +39,4 @@ jobs:
10139
- name: Build with Gradle
10240
run: "./gradlew clean build"
10341
- 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

Comments
 (0)