We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1fce74 commit b6034c1Copy full SHA for b6034c1
.github/workflows/maven.yml
@@ -8,11 +8,15 @@ on:
8
9
jobs:
10
build:
11
- runs-on: ubuntu-latest
+ runs-on: ${{ matrix.os }}
12
13
strategy:
14
matrix:
15
+ os: [ ubuntu-latest ]
16
java: [ 11, 17, 21 ]
17
+ include:
18
+ - os: windows-latest
19
+ java: 25
20
21
steps:
22
- name: Checkout
@@ -26,4 +30,11 @@ jobs:
26
30
cache: 'maven'
27
31
28
32
- name: Build and test
29
- run: mvn clean verify -U
33
+ shell: bash
34
+ run: |
35
+ if [ "${{ runner.os }}" == "Windows" ]; then
36
+ # Testcontainers doesn't support Windows containers
37
+ mvn clean test -U
38
+ else
39
+ mvn clean verify -U
40
+ fi
0 commit comments