-
Notifications
You must be signed in to change notification settings - Fork 1.2k
154 lines (153 loc) · 5.76 KB
/
nightly.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
name: Nightly Check
on:
schedule:
- cron: "0 14 * * *"
permissions: read-all
jobs:
core-fast:
name: core fast tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
branch: [ 3.5.x, main ]
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # tag=v4
with:
ref: ${{ matrix.branch }}
- name: Download JDK 9
if: ${{ matrix.branch == 'main' }}
run: ${GITHUB_WORKSPACE}/.github/setup.sh
shell: bash
- name: Setup JDK 9
if: ${{ matrix.branch == 'main' }}
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # tag=v3
with:
distribution: 'jdkfile'
java-version: 9.0.4
jdkFile: /opt/openjdk/java9/OpenJDK9U-jdk_x64_linux_hotspot_9.0.4_11.tar.gz
- name: Setup JDK 21
if: ${{ matrix.branch == 'main' }}
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # tag=v3
with:
distribution: 'temurin'
java-version: 21
- name: Setup JDK 8
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # tag=v3
with:
distribution: 'temurin'
java-version: 8
- uses: gradle/gradle-build-action@842c587ad8aa4c68eeba24c396e15af4c2e9f30a # tag=v2
name: gradle
with:
arguments: :reactor-core:test --no-daemon -Pjunit-tags=!slow -DuseSnapshotMicrometerVersion=true
java-21-core-fast:
name: Java 21 core fast tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # tag=v4
with:
ref: main
- name: Download JDK 9
run: ${GITHUB_WORKSPACE}/.github/setup.sh
shell: bash
- name: Setup JDK 9
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # tag=v3
with:
distribution: 'jdkfile'
java-version: 9.0.4
jdkFile: /opt/openjdk/java9/OpenJDK9U-jdk_x64_linux_hotspot_9.0.4_11.tar.gz
- name: Setup JDK 21
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # tag=v3
with:
distribution: 'temurin'
java-version: 21
- name: Setup JDK 8
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # tag=v3
with:
distribution: 'temurin'
java-version: 8
- uses: gradle/gradle-build-action@842c587ad8aa4c68eeba24c396e15af4c2e9f30a # tag=v2
name: gradle
with:
arguments: :reactor-core:java21Test --no-daemon -Pjunit-tags=!slow -DuseSnapshotMicrometerVersion=true
core-slow:
name: core slower tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
branch: [ 3.5.x, main ]
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # tag=v4
with:
ref: ${{ matrix.branch }}
- name: Download JDK 9
if: ${{ matrix.branch == 'main' }}
run: ${GITHUB_WORKSPACE}/.github/setup.sh
shell: bash
- name: Setup JDK 9
if: ${{ matrix.branch == 'main' }}
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # tag=v3
with:
distribution: 'jdkfile'
java-version: 9.0.4
jdkFile: /opt/openjdk/java9/OpenJDK9U-jdk_x64_linux_hotspot_9.0.4_11.tar.gz
- name: Setup JDK 21
if: ${{ matrix.branch == 'main' }}
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # tag=v3
with:
distribution: 'temurin'
java-version: 21
- name: Setup JDK 8
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # tag=v3
with:
distribution: 'temurin'
java-version: 8
- uses: gradle/gradle-build-action@842c587ad8aa4c68eeba24c396e15af4c2e9f30a # tag=v2
name: gradle
with:
arguments: :reactor-core:test --no-daemon -Pjunit-tags=slow -DuseSnapshotMicrometerVersion=true
other:
name: other tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
branch: [ 3.5.x, main ]
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # tag=v4
with:
ref: ${{ matrix.branch }}
- name: Download JDK 9
if: ${{ matrix.branch == 'main' }}
run: ${GITHUB_WORKSPACE}/.github/setup.sh
shell: bash
- name: Setup JDK 9
if: ${{ matrix.branch == 'main' }}
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # tag=v3
with:
distribution: 'jdkfile'
java-version: 9.0.4
jdkFile: /opt/openjdk/java9/OpenJDK9U-jdk_x64_linux_hotspot_9.0.4_11.tar.gz
- name: Setup JDK 21
if: ${{ matrix.branch == 'main' }}
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # tag=v3
with:
distribution: 'temurin'
java-version: 21
- name: Setup JDK 8
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # tag=v3
with:
distribution: 'temurin'
java-version: 8
- uses: gradle/gradle-build-action@842c587ad8aa4c68eeba24c396e15af4c2e9f30a # tag=v2
if: ${{ matrix.branch == 'main' }}
name: other tests
with:
arguments: check -x :reactor-core:test -x :reactor-core:java9Test -x :reactor-core:java21Test -x spotlessCheck --no-daemon -DuseSnapshotMicrometerVersion=true -Pjcstress.mode=default
- uses: gradle/gradle-build-action@842c587ad8aa4c68eeba24c396e15af4c2e9f30a # tag=v2
if: ${{ matrix.branch == '3.5.x' }}
name: other tests
with:
arguments: check -x :reactor-core:test -x spotlessCheck --no-daemon -DuseSnapshotMicrometerVersion=true -Pjcstress.mode=default