File tree 3 files changed +44
-85
lines changed
3 files changed +44
-85
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -23,19 +23,33 @@ jobs:
23
23
- 11 # LTS
24
24
- 17 # LTS
25
25
- 21 # LTS
26
+ - GA # General access
27
+ include :
28
+ - os-name : ubuntu-latest
29
+ java-version : GA
30
+ - os-name : macos-latest
31
+ java-version : GA
26
32
steps :
27
33
- name : Checkout repository
28
34
uses : actions/checkout@v4
29
35
with :
30
36
fetch-depth : 2
31
37
32
- - name : Initialize JDK
38
+ - name : Initialize Zulu JDK
39
+ if : matrix.java-version != 'GA'
33
40
uses : actions/setup-java@v4
34
41
with :
35
42
check-latest : true
36
43
distribution : zulu
37
44
java-version : ${{ matrix.java-version }}
38
45
46
+ - name : Initialize Oracle JDK
47
+ if : matrix.java-version == 'GA'
48
+ uses : oracle-actions/setup-java@v1
49
+ with :
50
+ website : jdk.java.net
51
+ release : ${{ matrix.java-version }}
52
+
39
53
- name : Maven cache
40
54
uses : actions/cache@v4
41
55
env :
66
80
**/failsafe-reports/**
67
81
**/build*.log
68
82
retention-days : 30
83
+
84
+ notify-coverage :
85
+ name : Notify of coverage
86
+ runs-on : ubuntu-latest
87
+ timeout-minutes : 30
88
+ needs :
89
+ - build
90
+ steps :
91
+ - name : Checkout code
92
+ uses : actions/checkout@v4
93
+
94
+ - name : Publish code coverage
95
+ uses : codecov/codecov-action@v5
96
+ continue-on-error : true
97
+ if : always()
98
+ with :
99
+ token : ${{ secrets.CODECOV_TOKEN }}
100
+ fail_ci_if_error : true
101
+ run_command : send-notifications
Original file line number Diff line number Diff line change 15
15
#
16
16
17
17
# General behaviour.
18
+ coverage :
19
+ round : up
20
+ precision : 2
21
+
18
22
codecov :
19
- branch : main
20
- max_report_age : 12
23
+ notify :
24
+ # Notify via a separate pipeline step in CI once all builds have completed. This way, we don't
25
+ # report coverage after each parallel build completes, which results in spammy and incorrect
26
+ # email notifications and prematurely marking the build as having failed.
27
+ # https://github.com/codecov/codecov-action/issues/1436#issuecomment-2614065472
28
+ manual_trigger : true
21
29
require_ci_to_pass : true
22
30
strict_yaml_branch : main
23
31
24
- # PR comment format.
25
32
comment :
26
33
layout : " reach, diff, flags, files"
27
34
behavior : default
28
- require_changes : false
29
- require_base : true
30
- require_head : true
31
-
32
- # Global coverage options.
33
- coverage :
34
- precision : 2
35
- range : " 10...100"
36
- round : down
You can’t perform that action at this time.
0 commit comments