Skip to content

Commit 0f49b34

Browse files
committed
Debug sporadic micrometer CI failure
1 parent b2f6de5 commit 0f49b34

File tree

2 files changed

+49
-25
lines changed

2 files changed

+49
-25
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Stress Test - Java 8 Windows
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
stress-test:
8+
runs-on: windows-2022
9+
strategy:
10+
matrix:
11+
batch: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
12+
run: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
13+
fail-fast: false
14+
max-parallel: 5
15+
name: "Batch ${{ matrix.batch }} Run ${{ matrix.run }}"
16+
steps:
17+
- name: Support long paths
18+
run: git config --system core.longpaths true
19+
20+
- uses: actions/checkout@v5
21+
22+
- uses: actions/setup-java@v4
23+
with:
24+
distribution: temurin
25+
java-version: 8
26+
27+
- uses: actions/setup-java@v4
28+
with:
29+
distribution: temurin
30+
java-version: 17
31+
32+
- uses: gradle/actions/setup-gradle@v4
33+
34+
- name: Test
35+
continue-on-error: true
36+
run: >
37+
./gradlew
38+
check
39+
-x spotlessCheck
40+
-PtestJavaVersion=8
41+
-PtestJavaVM=hotspot
42+
--no-build-cache
43+
44+
- name: Upload failure reports
45+
uses: actions/upload-artifact@v4
46+
if: failure()
47+
with:
48+
name: failure-reports-batch${{ matrix.batch }}-run${{ matrix.run }}
49+
path: '**/build/reports/tests/**/*'

0 commit comments

Comments
 (0)