Skip to content

Commit 3f4fffa

Browse files
committed
Debug sporadic micrometer CI failure
1 parent b2f6de5 commit 3f4fffa

File tree

2 files changed

+48
-25
lines changed

2 files changed

+48
-25
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
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+
name: "Batch ${{ matrix.batch }} Run ${{ matrix.run }}"
15+
steps:
16+
- name: Support long paths
17+
run: git config --system core.longpaths true
18+
19+
- uses: actions/checkout@v5
20+
21+
- uses: actions/setup-java@v4
22+
with:
23+
distribution: temurin
24+
java-version: 8
25+
26+
- uses: actions/setup-java@v4
27+
with:
28+
distribution: temurin
29+
java-version: 17
30+
31+
- uses: gradle/actions/setup-gradle@v4
32+
33+
- name: Test
34+
continue-on-error: true
35+
run: >
36+
./gradlew
37+
check
38+
-x spotlessCheck
39+
-PtestJavaVersion=8
40+
-PtestJavaVM=hotspot
41+
--no-build-cache
42+
43+
- name: Upload failure reports
44+
uses: actions/upload-artifact@v4
45+
if: failure()
46+
with:
47+
name: failure-reports-batch${{ matrix.batch }}-run${{ matrix.run }}
48+
path: '**/build/reports/tests/**/*'

0 commit comments

Comments
 (0)