Skip to content

Commit

Permalink
chore: Stop running Maven commands in multi treads in nightly CI (#3366)
Browse files Browse the repository at this point in the history
Nightly CI could fail due to running maven commands in multi-treads on
Windows, see #3362
for details. Remove `-T 1C` in nightly.yaml to stop running Maven
commands in multi treads in nightly CI. This is acceptable since running
time is not a main concern in nightly CI.
  • Loading branch information
blakeli0 authored Nov 26, 2024
1 parent 7ee0089 commit efa3c0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: maven
- run: mvn -version
- name: Install
run: mvn install --errors --batch-mode --no-transfer-progress -Dcheckstyle.skip -T 1C
run: mvn install --errors --batch-mode --no-transfer-progress -Dcheckstyle.skip
- name: Create issue if previous step fails
if: ${{ failure() }}
env:
Expand All @@ -49,7 +49,7 @@ jobs:
cache: maven
- run: mvn -version
- name: Install with Java 11
run: mvn install --errors --batch-mode --no-transfer-progress -Dcheckstyle.skip -DskipTests -T 1C
run: mvn install --errors --batch-mode --no-transfer-progress -Dcheckstyle.skip -DskipTests

- uses: actions/setup-java@v3
with:
Expand All @@ -58,7 +58,7 @@ jobs:
- run: mvn -version
- name: Test with Java 8
# Direct goal invocation ("surefire:test") prevents recompiling tests
run: mvn surefire:test --errors --batch-mode --no-transfer-progress -T 1C
run: mvn surefire:test --errors --batch-mode --no-transfer-progress
- name: Create issue if previous step fails
if: ${{ failure() }}
env:
Expand Down

0 comments on commit efa3c0e

Please sign in to comment.