Skip to content

Commit f9b2e89

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

File tree

1 file changed

+54
-0
lines changed

1 file changed

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

0 commit comments

Comments
 (0)