-
Notifications
You must be signed in to change notification settings - Fork 26
46 lines (38 loc) · 1.09 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: CI for special branches
on:
push:
branches:
- '!master'
- '!develop'
- '!release/*'
- 'dependabot/**'
- 'feature/**'
- 'bugfix/**'
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
jdk: ['11.0.5']
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: ${{ matrix.jdk }}
cache: maven
- name: Prepare Maven Wrapper
run: chmod +x ./mvnw
- name: Build with Maven
run: ./mvnw clean verify -U -B -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
- name: Prepare I-Tests
run: mkdir -p target/jgiven-reports/json
- name: Run I-Tests with Maven
run: ./mvnw integration-test failsafe:verify -Pitest -B -T4
- name: Upload coverage information
uses: codecov/codecov-action@v3
with:
token: "${{ secrets.CODECOV_TOKEN }}"