Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit d5f7896

Browse files
authored
Update ci.yml
1 parent fbef920 commit d5f7896

File tree

1 file changed

+173
-173
lines changed

1 file changed

+173
-173
lines changed

.github/workflows/ci.yml

Lines changed: 173 additions & 173 deletions
Original file line numberDiff line numberDiff line change
@@ -1,175 +1,175 @@
1-
name: CI
2-
3-
on:
4-
pull_request:
5-
branches: [ main ]
6-
7-
concurrency:
8-
group: ${{ github.head_ref }}
9-
cancel-in-progress: true
10-
11-
env:
12-
REGISTRY: ${{ secrets.IMAGE_REGISTRY }}
13-
OWNER: ${{ secrets.REPO_USER }}
14-
15-
jobs:
16-
style:
17-
timeout-minutes: 5
18-
runs-on: ubuntu-latest
19-
strategy:
20-
fail-fast: false
21-
22-
steps:
23-
- uses: actions/checkout@v2
24-
- name: Set up JDK ${{ matrix.java }}
25-
uses: actions/setup-java@v1
26-
with:
27-
java-version: 17
28-
- name: Cache maven packages
29-
uses: actions/cache@v2
30-
with:
31-
path: ~/.m2
32-
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
33-
restore-keys: ${{ runner.os }}-m2
34-
- name: Run style checks
35-
run: mvn -B -U checkstyle:check --file pom.xml
36-
37-
license:
38-
timeout-minutes: 5
39-
runs-on: ubuntu-latest
40-
strategy:
41-
fail-fast: false
42-
43-
steps:
44-
- uses: actions/checkout@v2
45-
- name: Set up JDK ${{ matrix.java }}
46-
uses: actions/setup-java@v1
47-
with:
48-
java-version: 17
49-
- name: Cache maven packages
50-
uses: actions/cache@v2
51-
with:
52-
path: ~/.m2
53-
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
54-
restore-keys: ${{ runner.os }}-m2
55-
- name: Run license checks
56-
run: mvn -B -U license:check --file pom.xml
57-
58-
linting:
59-
timeout-minutes: 5
60-
runs-on: ubuntu-latest
61-
strategy:
62-
fail-fast: false
63-
64-
steps:
65-
- uses: actions/checkout@v2
66-
- name: Lint Docker
67-
uses: hadolint/[email protected]
68-
with:
69-
dockerfile: Dockerfile
70-
config: .hadolint.yaml
71-
# - name: Lint Docker and Yaml
72-
# uses: bridgecrewio/checkov-action@master
73-
# with:
74-
# directory: .
75-
# quiet: true
76-
# output_format: github_failed_only
77-
# download_external_modules: true
78-
# soft_fail: true
79-
80-
static-code-analysis:
81-
needs: [style, license, linting]
82-
timeout-minutes: 5
83-
runs-on: ubuntu-latest
84-
strategy:
85-
fail-fast: false
86-
87-
steps:
88-
- uses: actions/checkout@v2
89-
- name: Set up JDK ${{ matrix.java }}
90-
uses: actions/setup-java@v1
91-
with:
92-
java-version: 17
93-
- name: Cache maven packages
94-
uses: actions/cache@v2
95-
with:
96-
path: ~/.m2
97-
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
98-
restore-keys: ${{ runner.os }}-m2
99-
- name: Run static code analysis
100-
run: mvn -B -U compile spotbugs:check --file pom.xml
101-
102-
unit-and-integration-tests:
103-
needs: [style, license, linting]
104-
timeout-minutes: 30
105-
runs-on: ${{ matrix.os }}
106-
strategy:
107-
matrix:
108-
os: [ubuntu-latest, windows-latest, macos-latest]
109-
java: [17]
110-
111-
steps:
112-
- uses: actions/checkout@v2
113-
- name: Set up JDK ${{ matrix.java }}
114-
uses: actions/setup-java@v1
115-
with:
116-
java-version: ${{ matrix.java }}
117-
- name: Cache maven packages
118-
uses: actions/cache@v2
119-
with:
120-
path: ~/.m2
121-
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
122-
restore-keys: ${{ runner.os }}-m2
123-
- name: Unit- and Integrationtests
124-
run: mvn -B -U verify --file pom.xml -Prelease
125-
126-
unit-and-integration-tests-cross-version:
127-
needs: unit-and-integration-tests
128-
timeout-minutes: 30
129-
runs-on: ${{ matrix.os }}
130-
strategy:
131-
fail-fast: false
132-
matrix:
133-
os: [ubuntu-latest, windows-latest, macos-latest]
134-
java: [12, 13, 14, 15, 16]
135-
136-
steps:
137-
- uses: actions/checkout@v2
138-
- name: Set up JDK ${{ matrix.java }}
139-
uses: actions/setup-java@v1
140-
with:
141-
java-version: ${{ matrix.java }}
142-
- name: Cache maven packages
143-
uses: actions/cache@v2
144-
with:
145-
path: ~/.m2
146-
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
147-
restore-keys: ${{ runner.os }}-m2
148-
- name: Unit- and Integrationtests
149-
run: mvn -B -U verify --file pom.xml -Prelease
150-
151-
mutation-tests:
152-
needs: unit-and-integration-tests
153-
timeout-minutes: 30
154-
runs-on: ubuntu-latest
155-
strategy:
156-
fail-fast: false
157-
158-
steps:
159-
- uses: actions/checkout@v2
160-
- name: Set up JDK ${{ matrix.java }}
161-
uses: actions/setup-java@v1
162-
with:
163-
java-version: 17
164-
- name: Cache maven packages
165-
uses: actions/cache@v2
166-
with:
167-
path: ~/.m2
168-
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
169-
restore-keys: ${{ runner.os }}-m2
170-
- name: Run Mutation Tests
171-
run: mvn -B -U -Dmaven.javadoc.skip=true test org.pitest:pitest-maven:mutationCoverage --file pom.xml
172-
1+
#name: CI
2+
#
3+
#on:
4+
# pull_request:
5+
# branches: [ main ]
6+
#
7+
#concurrency:
8+
# group: ${{ github.head_ref }}
9+
# cancel-in-progress: true
10+
#
11+
#env:
12+
# REGISTRY: ${{ secrets.IMAGE_REGISTRY }}
13+
# OWNER: ${{ secrets.REPO_USER }}
14+
#
15+
#jobs:
16+
# style:
17+
# timeout-minutes: 5
18+
# runs-on: ubuntu-latest
19+
# strategy:
20+
# fail-fast: false
21+
#
22+
# steps:
23+
# - uses: actions/checkout@v2
24+
# - name: Set up JDK ${{ matrix.java }}
25+
# uses: actions/setup-java@v1
26+
# with:
27+
# java-version: 11
28+
# - name: Cache maven packages
29+
# uses: actions/cache@v2
30+
# with:
31+
# path: ~/.m2
32+
# key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
33+
# restore-keys: ${{ runner.os }}-m2
34+
# - name: Run style checks
35+
# run: mvn -B -U checkstyle:check --file pom.xml
36+
#
37+
# license:
38+
# timeout-minutes: 5
39+
# runs-on: ubuntu-latest
40+
# strategy:
41+
# fail-fast: false
42+
#
43+
# steps:
44+
# - uses: actions/checkout@v2
45+
# - name: Set up JDK ${{ matrix.java }}
46+
# uses: actions/setup-java@v1
47+
# with:
48+
# java-version: 11
49+
# - name: Cache maven packages
50+
# uses: actions/cache@v2
51+
# with:
52+
# path: ~/.m2
53+
# key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
54+
# restore-keys: ${{ runner.os }}-m2
55+
# - name: Run license checks
56+
# run: mvn -B -U license:check --file pom.xml
57+
#
58+
# linting:
59+
# timeout-minutes: 5
60+
# runs-on: ubuntu-latest
61+
# strategy:
62+
# fail-fast: false
63+
#
64+
# steps:
65+
# - uses: actions/checkout@v2
66+
# - name: Lint Docker
67+
# uses: hadolint/[email protected]
68+
# with:
69+
# dockerfile: Dockerfile
70+
# config: .hadolint.yaml
71+
# # - name: Lint Docker and Yaml
72+
# # uses: bridgecrewio/checkov-action@master
73+
# # with:
74+
# # directory: .
75+
# # quiet: true
76+
# # output_format: github_failed_only
77+
# # download_external_modules: true
78+
# # soft_fail: true
79+
#
80+
# static-code-analysis:
81+
# needs: [style, license, linting]
82+
# timeout-minutes: 5
83+
# runs-on: ubuntu-latest
84+
# strategy:
85+
# fail-fast: false
86+
#
87+
# steps:
88+
# - uses: actions/checkout@v2
89+
# - name: Set up JDK ${{ matrix.java }}
90+
# uses: actions/setup-java@v1
91+
# with:
92+
# java-version: 11
93+
# - name: Cache maven packages
94+
# uses: actions/cache@v2
95+
# with:
96+
# path: ~/.m2
97+
# key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
98+
# restore-keys: ${{ runner.os }}-m2
99+
# - name: Run static code analysis
100+
# run: mvn -B -U compile spotbugs:check --file pom.xml
101+
#
102+
# unit-and-integration-tests:
103+
# needs: [style, license, linting]
104+
# timeout-minutes: 30
105+
# runs-on: ${{ matrix.os }}
106+
# strategy:
107+
# matrix:
108+
# os: [ubuntu-latest, windows-latest, macos-latest]
109+
# java: [11]
110+
#
111+
# steps:
112+
# - uses: actions/checkout@v2
113+
# - name: Set up JDK ${{ matrix.java }}
114+
# uses: actions/setup-java@v1
115+
# with:
116+
# java-version: ${{ matrix.java }}
117+
# - name: Cache maven packages
118+
# uses: actions/cache@v2
119+
# with:
120+
# path: ~/.m2
121+
# key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
122+
# restore-keys: ${{ runner.os }}-m2
123+
# - name: Unit- and Integrationtests
124+
# run: mvn -B -U verify --file pom.xml -Prelease
125+
#
126+
# unit-and-integration-tests-cross-version:
127+
# needs: unit-and-integration-tests
128+
# timeout-minutes: 30
129+
# runs-on: ${{ matrix.os }}
130+
# strategy:
131+
# fail-fast: false
132+
# matrix:
133+
# os: [ubuntu-latest, windows-latest, macos-latest]
134+
# java: [12, 13, 14, 15, 16]
135+
#
136+
# steps:
137+
# - uses: actions/checkout@v2
138+
# - name: Set up JDK ${{ matrix.java }}
139+
# uses: actions/setup-java@v1
140+
# with:
141+
# java-version: ${{ matrix.java }}
142+
# - name: Cache maven packages
143+
# uses: actions/cache@v2
144+
# with:
145+
# path: ~/.m2
146+
# key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
147+
# restore-keys: ${{ runner.os }}-m2
148+
# - name: Unit- and Integrationtests
149+
# run: mvn -B -U verify --file pom.xml -Prelease
150+
#
151+
# mutation-tests:
152+
# needs: unit-and-integration-tests
153+
# timeout-minutes: 30
154+
# runs-on: ubuntu-latest
155+
# strategy:
156+
# fail-fast: false
157+
#
158+
# steps:
159+
# - uses: actions/checkout@v2
160+
# - name: Set up JDK ${{ matrix.java }}
161+
# uses: actions/setup-java@v1
162+
# with:
163+
# java-version: 11
164+
# - name: Cache maven packages
165+
# uses: actions/cache@v2
166+
# with:
167+
# path: ~/.m2
168+
# key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
169+
# restore-keys: ${{ runner.os }}-m2
170+
# - name: Run Mutation Tests
171+
# run: mvn -B -U -Dmaven.javadoc.skip=true test org.pitest:pitest-maven:mutationCoverage --file pom.xml
172+
#
173173
# build-test-image:
174174
# needs: unit-and-integration-tests
175175
# timeout-minutes: 15
@@ -210,7 +210,7 @@ jobs:
210210
# ignore-unfixed: true
211211
# vuln-type: 'os,library'
212212
# severity: 'UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL'
213-
213+
#
214214
# e2e-tests:
215215
# needs: build-test-image
216216
# timeout-minutes: 30

0 commit comments

Comments
 (0)