Skip to content

Commit a7bad01

Browse files
committed
ci: throwaway 10x integration flake hunt (do not merge)
1 parent c0db873 commit a7bad01

1 file changed

Lines changed: 50 additions & 0 deletions

File tree

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Throwaway: runs the integration suite 10x against sdkdev to check PR #167's de-flaking.
2+
# Delete this branch when done. Never merged to main.
3+
#
4+
# max-parallel MUST stay 1: TaskClientTests @AfterAll unregisters fixed-name workflow defs
5+
# (complex_wf, sub_wf_1, sub_wf_2, wait_signal_test) on the SHARED sdkdev server, so
6+
# concurrent runs would delete each other's definitions mid-test and fail for fake reasons.
7+
name: Integration Flake Hunt
8+
9+
on:
10+
push:
11+
branches:
12+
- 'flake-hunt/**'
13+
14+
permissions:
15+
contents: read
16+
checks: write
17+
18+
jobs:
19+
hunt:
20+
runs-on: ubuntu-latest
21+
environment: integration-tests
22+
timeout-minutes: 30
23+
strategy:
24+
fail-fast: false
25+
max-parallel: 1
26+
matrix:
27+
attempt: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
28+
name: attempt ${{ matrix.attempt }}
29+
steps:
30+
- uses: actions/checkout@v6
31+
32+
- name: Set up Zulu JDK 21
33+
uses: actions/setup-java@v5
34+
with:
35+
distribution: "zulu"
36+
java-version: "21"
37+
38+
- name: Run Integration tests (attempt ${{ matrix.attempt }})
39+
run: ./gradlew test -PIntegrationTests
40+
env:
41+
CONDUCTOR_SERVER_URL: ${{ vars.SERVER_URL }}
42+
CONDUCTOR_AUTH_KEY: ${{ secrets.AUTH_KEY }}
43+
CONDUCTOR_AUTH_SECRET: ${{ secrets.AUTH_SECRET }}
44+
45+
- name: Publish Test Report
46+
uses: mikepenz/action-junit-report@v6
47+
if: always()
48+
with:
49+
check_name: 'Flake Hunt ${{ matrix.attempt }}'
50+
report_paths: '**/build/test-results/test/TEST-*.xml'

0 commit comments

Comments
 (0)