Skip to content

Commit b9385a8

Browse files
authored
Add github on-commit tests on MacOS and Windows (apache#14054)
1 parent 76f5254 commit b9385a8

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/run-checks-all.yml

+9-4
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,14 @@ jobs:
3434
runs-on: ${{ matrix.os }}
3535

3636
steps:
37+
- name: Correct git autocrlf
38+
run: git config --global core.autocrlf false
39+
3740
- uses: actions/checkout@v4
3841
- uses: ./.github/actions/prepare-for-build
3942

4043
- name: Run gradle check (without tests)
41-
run: ./gradlew check -x test -Ptask.times=true --max-workers 2
44+
run: ./gradlew check -x test "-Ptask.times=true" --max-workers 2
4245

4346

4447
# This runs all tests without any other validation checks.
@@ -49,14 +52,16 @@ jobs:
4952
strategy:
5053
matrix:
5154
# Operating systems to run on.
52-
# windows-latest: fairly slow to build and results in odd errors (see LUCENE-10167)
53-
# macos-latest: a tad slower than ubuntu and pretty much the same (?) so leaving out.
54-
os: [ ubuntu-latest ]
55+
os: [ ubuntu-latest, windows-latest, macos-latest ]
5556
java: [ '21' ]
5657

5758
runs-on: ${{ matrix.os }}
5859

5960
steps:
61+
- name: Correct git autocrlf on Windows
62+
if: startsWith(matrix.os, 'windows')
63+
run: git config --global core.autocrlf false
64+
6065
- uses: actions/checkout@v4
6166
- uses: ./.github/actions/prepare-for-build
6267

0 commit comments

Comments
 (0)