File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 tags :
55 - " *"
66jobs :
7- call-reusable-workflow :
7+ test :
8+ strategy :
9+ fail-fast : false
10+ matrix :
11+ os : [ubuntu-latest, macos-latest, windows-latest]
12+ include :
13+ - os : ubuntu-latest
14+ test-type : integration
15+ - os : macos-latest
16+ test-type : unit
17+ - os : windows-latest
18+ test-type : unit
19+ runs-on : ${{ matrix.os }}
20+ steps :
21+ - uses : actions/checkout@v4
22+
23+ - name : Set up JDK 11
24+ uses : actions/setup-java@v4
25+ with :
26+ java-version : ' 11'
27+ distribution : ' temurin'
28+
29+ - name : Grant execute permission for gradlew
30+ run : chmod +x gradlew
31+ if : matrix.os != 'windows-latest'
32+
33+ # Unit tests only (no Docker required) - runs on all platforms
34+ - name : Run unit tests
35+ if : matrix.test-type == 'unit'
36+ run : ./gradlew test --tests "io.github.intisy.docker.ModelTest" --tests "io.github.intisy.docker.DockerClientBuilderTest" --info
37+ shell : bash
38+
39+ # Integration tests (Docker required) - Linux only where Docker is pre-installed
40+ - name : Run all tests (Linux with Docker)
41+ if : matrix.test-type == 'integration'
42+ run : ./gradlew test --info
43+
44+ build :
45+ needs : test
846 uses : intisy/workflows/.github/workflows/build.yml@main
947 with :
1048 ref_name : ${{ github.ref_name }}
You can’t perform that action at this time.
0 commit comments