Skip to content

Commit

Permalink
Put lifecycle phase at end of mvn command to test for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ceddy4395 committed May 28, 2024
1 parent 665d2da commit e61b86b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ jobs:
distribution: 'temurin'

- name: Maven Test With Spring 6.x
run: mvn --batch-mode test -Dsurefire.jdk-toolchain-version=${{ matrix.java }}
run: mvn test --batch-mode -Dsurefire.jdk-toolchain-version=${{ matrix.java }}
if: ${{ matrix.java >= 17 }}

- name: Maven Test Without Spring 6.x
run: mvn --batch-mode test -Dsurefire.jdk-toolchain-version=${{ matrix.java }} -Dskip.spring.v6x.test=true
run: mvn test --batch-mode -Dsurefire.jdk-toolchain-version=${{ matrix.java }} -Dskip.spring.v6x.test=true
if: ${{ matrix.java < 17 }}

- name: Build with Maven
Expand Down

0 comments on commit e61b86b

Please sign in to comment.