File tree Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Debug flaky tests
2+
3+ on :
4+ workflow_dispatch :
5+
6+ permissions :
7+ contents : read
8+
9+ concurrency :
10+ group : ${{ github.workflow }}-${{ github.sha }}
11+ cancel-in-progress : true
12+
13+ jobs :
14+ test :
15+ name : Test
16+ runs-on : ${{ matrix.os }}
17+ strategy :
18+ fail-fast : false
19+ matrix :
20+ os :
21+ - ubuntu-latest
22+ - windows-latest
23+ test-java-version :
24+ - 8
25+ - 11
26+ - 17
27+ - 21
28+ - 23
29+ run_id : [1, 2]
30+ steps :
31+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
32+
33+ - id : setup-java-test
34+ name : Set up Java ${{ matrix.test-java-version }} for tests
35+ uses : actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
36+ with :
37+ distribution : temurin
38+ java-version : ${{ matrix.test-java-version }}
39+
40+ - id : setup-java
41+ name : Set up Java for build
42+ uses : actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
43+ with :
44+ distribution : temurin
45+ java-version : 17
46+
47+ - name : Set up gradle
48+ uses : gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1
49+ with :
50+ cache-read-only : ${{ github.event_name == 'pull_request' }}
51+ - name : Gradle test
52+ run : >
53+ ./gradlew --no-build-cache
54+ "-PtestJavaVersion=${{ matrix.test-java-version }}"
55+ "-Porg.gradle.java.installations.paths=${{ steps.setup-java-test.outputs.path }}"
56+ "-Porg.gradle.java.installations.auto-download=false"
You can’t perform that action at this time.
0 commit comments