Skip to content

Commit 309df54

Browse files
committed
excluded windows testing
1 parent 95a6739 commit 309df54

File tree

1 file changed

+9
-27
lines changed

1 file changed

+9
-27
lines changed

.github/workflows/CI.yml

Lines changed: 9 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -7,36 +7,18 @@ name: Java CI
77

88
on:
99
push:
10-
branches: [main , dev]
10+
branches: [main, dev]
1111
pull_request:
12-
branches: [main , dev]
12+
branches: [main, dev]
1313

1414
jobs:
15-
# build:
16-
# runs-on: ubuntu-latest
17-
# strategy:
18-
# matrix:
19-
# jdk: [ 17 ]
20-
# steps:
21-
# - name: Checkout repo
22-
# uses: actions/checkout@v2
23-
# - name: Set up OpenJDK
24-
# uses: actions/setup-java@v1
25-
# with:
26-
# java-version: ${{ matrix.jdk }}
27-
# - name: Install python
28-
# run: sudo apt install -y python3 python3-setuptools python3-pip
29-
# - name: Update pip
30-
# run: pip3 install --upgrade pip
31-
# - name: Grant execute permission for gradlew
32-
# run: chmod +x gradlew
33-
# - name: Build with Gradle
34-
# run: ./gradlew clean build
3515
build:
16+
name: Build, test and generate coverage report with Gradle on JDK ${{ matrix.jdk }}
3617
strategy:
3718
matrix:
38-
os: [ubuntu-latest, windows-latest, macos-latest]
39-
jdk: [17]
19+
# os: [ubuntu-latest, windows-latest, macos-latest]
20+
os: [ubuntu-latest, macos-latest]
21+
jdk: [17, 18]
4022
python-version: [3.9]
4123
runs-on: ${{ matrix.os }}
4224
steps:
@@ -58,9 +40,9 @@ jobs:
5840
run: chmod +x gradlew
5941
- name: Clean
6042
run: ./gradlew clean
61-
- if: matrix.os == 'windows-latest'
62-
name: Test with Gradle on Windows
63-
run: ./gradlew build -DapplicationProperties="src\test\resources\test-config\application-test-windows.properties"
43+
# - if: matrix.os == 'windows-latest'
44+
# name: Test with Gradle on Windows
45+
# run: ./gradlew build -DapplicationProperties="src\test\resources\test-config\application-test-windows.properties"
6446
- if: matrix.os != 'windows-latest'
6547
name: Test with Gradle on ${{ matrix.os }}
6648
run: ./gradlew build -DapplicationProperties="src/test/resources/test-config/application-test.properties"

0 commit comments

Comments
 (0)