From c6c480a435806653bf29f0af1a1d6a9eaaa7a83c Mon Sep 17 00:00:00 2001 From: Alfonso Bribiesca Date: Tue, 2 Jul 2024 11:33:47 -0600 Subject: [PATCH] add java versions to integration tests --- .github/workflows/integration-test.yml | 28 ++++++++++++++++---------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index d1ac906..11f4440 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -5,19 +5,25 @@ on: workflow_dispatch jobs: integration: runs-on: ubuntu-latest + strategy: + matrix: + java: [8, 11, 15, 16, 17, 18, 19, 20, 21, 22] steps: - - uses: actions/checkout@v2 + - name: Checkout code + uses: actions/checkout@v2 - - name: Use Java Version 8 - uses: actions/setup-java@v1 - with: - java-version: 8 + - name: Use Java Version ${{ matrix.java }} + uses: actions/setup-java@v2 + with: + distribution: "zulu" + java-version: ${{ matrix.java }} + cache: "gradle" - - name: Install - run: gradle dependencies + - name: Install + run: gradle dependencies - - name: Test - run: gradle integrationTest - env: - INTEGRATION_TESTS_MNEMONIC: ${{ secrets.MNEMONIC }} + - name: Test + run: gradle integrationTest + env: + INTEGRATION_TESTS_MNEMONIC: ${{ secrets.MNEMONIC }}