Skip to content

Commit

Permalink
AG-230 - run github action on windows runner as well
Browse files Browse the repository at this point in the history
  • Loading branch information
barreiro committed Jan 5, 2024
1 parent ebb895b commit 9f711c9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/maven-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,13 @@ jobs:
retention-days: 1

test:
runs-on: ubuntu-latest
needs: build
strategy:
matrix:
java: [ 21, 17, 11 ]
name: Java ${{ matrix.java }} - Test
os: [ ubuntu-latest, windows-latest ]
name: Java ${{ matrix.java }} ${{ matrix.os }} - Test
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
Expand All @@ -45,7 +46,7 @@ jobs:
name: agroal-repository-artifact
path: ~/.m2/repository/io/agroal
# don't run spring tests on JVMs older than 17
- run: rm -fr agroal-test/src/test/java/io/agroal/test/springframework && mvn --projects agroal-test verify -Dversion.org.springframework.boot=2.6.1
- run: rm -fr agroal-test/src/test/java/io/agroal/test/springframework && mvn --projects agroal-test verify -D"version.org.springframework.boot=2.6.1"

deploy:
if: ${{ github.repository == 'agroal/agroal' && github.ref == 'refs/heads/master' }}
Expand Down

0 comments on commit 9f711c9

Please sign in to comment.