From 1f17d48e2d0ab92abe06c3d1e6e07b62aca20450 Mon Sep 17 00:00:00 2001 From: Naveen Pajjuri Date: Tue, 8 Mar 2022 16:42:10 +0530 Subject: [PATCH] parameterised tests with all java versions. Signed-off-by: Naveen Pajjuri --- .github/workflows/build.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3bfc949d..00644ec2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,15 +10,21 @@ on: jobs: build: + strategy: + matrix: + java: + - 8 + - 11 + - 14 # Job name name: Build Replication plugin runs-on: ubuntu-latest steps: # This step uses the setup-java Github action: https://github.com/actions/setup-java - - name: Set Up JDK 11 + - name: Set Up JDK ${{ matrix.java }} uses: actions/setup-java@v1 with: - java-version: 11 + java-version: ${{ matrix.java }} # This step uses the checkout Github action: https://github.com/actions/checkout - name: Checkout Branch uses: actions/checkout@v2