Skip to content

Commit

Permalink
enable test on windows-latest os
Browse files Browse the repository at this point in the history
  • Loading branch information
wangliang181230 committed Dec 1, 2023
1 parent 810fe98 commit d981c53
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/test-os.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
os: [
#ubuntu-latest, # Already tested in `test.yml`
macos-latest,
windows-latest, # Skip tests, because too many errors in unit-test.
windows-latest,
]
java: [ 8, 11, 17, 21 ]
steps:
Expand All @@ -40,11 +40,13 @@ jobs:
-Dmaven.git-commit-id.skip=true \
-e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn;
## step 4.2: for Windows
- name: "Build with Maven on 'windows-latest' OS (Skip tests)"
- name: "Test with Maven on 'windows-latest' OS"
if: matrix.os == 'windows-latest'
run: | # Skip tests, because too many errors in unit-test.
mvn -version;
mvn clean install -DskipTests -e -B;
run: |
./mvnw.cmd -version;
./mvnw.cmd clean install ^
-Dmaven.git-commit-id.skip=true ^
-e -B;
# job 2:
test-arm64:
Expand Down

0 comments on commit d981c53

Please sign in to comment.