Commit 41b46ba
authored
Simplified set of CI jobs (#1271)
This PR implements the following new policy for jobs to run on CI:
* We only run the build on the latest LTS JDK version (currently 21)
* Run tests on the latest LTS JDK version (the standard `test` task)
* Run tests on any older LTS versions supported by the latest version of
Error Prone (currently JDK 17)
* Test on latest JDK version (currently 24)
* Test on oldest supported Error Prone version, on oldest JDK that it
supports, only for core NullAway tests (JDK 11, Error Prone 2.14.0)
* Test on Linux, Mac, and Windows
This is in preparation for updating to Gradle 9 (#1270), which can only
run on JDK 17+.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- Chores
- Simplified CI: trimmed matrix to macOS and Windows, standardized job
names, and unified build/test steps.
- Adjusted coverage gating to run on Linux with repository filter.
- Removed matrix-based gating for local publishing.
- Minor cleanup of formatting and step structure.
- Tests
- Updated JDK test targets: replaced 21 with 17; 24 remains.
- Kept certain JDK-specific tests disabled, aligned with new targets.
- Removed a version-specific test exclusion, enabling the affected test
to run across versions.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent 39fed3d commit 41b46ba
4 files changed
Lines changed: 22 additions & 71 deletions
File tree
- .github/workflows
- buildSrc/src/main/groovy
- jdk-recent-unit-tests
- nullaway
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | 16 | | |
27 | | - | |
28 | | - | |
29 | 17 | | |
30 | | - | |
31 | | - | |
32 | 18 | | |
33 | | - | |
34 | | - | |
35 | 19 | | |
36 | 20 | | |
37 | 21 | | |
| |||
42 | 26 | | |
43 | 27 | | |
44 | 28 | | |
45 | | - | |
46 | | - | |
47 | 29 | | |
48 | 30 | | |
49 | 31 | | |
50 | | - | |
51 | | - | |
52 | | - | |
| 32 | + | |
53 | 33 | | |
54 | 34 | | |
55 | 35 | | |
56 | 36 | | |
57 | 37 | | |
58 | 38 | | |
59 | | - | |
60 | | - | |
61 | 39 | | |
62 | 40 | | |
63 | | - | |
| 41 | + | |
64 | 42 | | |
65 | 43 | | |
66 | 44 | | |
| |||
69 | 47 | | |
70 | 48 | | |
71 | 49 | | |
72 | | - | |
73 | 50 | | |
74 | 51 | | |
75 | 52 | | |
76 | | - | |
77 | 53 | | |
78 | 54 | | |
79 | 55 | | |
| |||
Lines changed: 17 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
47 | 61 | | |
48 | 62 | | |
49 | 63 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
| 86 | + | |
101 | 87 | | |
102 | 88 | | |
103 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
0 commit comments