From 86af36c047dbd273bf3c5e6dc97f2a92b34830fe Mon Sep 17 00:00:00 2001 From: Peter Nied Date: Thu, 24 Mar 2022 20:12:00 +0000 Subject: [PATCH] Seperate BWC tests into parallel workflow BWC tests were being run after normal tests for each JDK. This was redundant and we can shorten the test runtime by running them in parallel Signed-off-by: Peter Nied --- .github/workflows/ci.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 96bf96185a..c22d06ac58 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,8 +62,15 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} files: ./build/jacoco/test/jacocoTestReport.xml - - name: Run Security Backwards Compatibility Tests - run: | + backward-compatibility: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: 11 + - run: ./gradlew clean build -Dbuild.snapshot=false -x test + - run: | echo "Running backwards compatibility tests ..." cp -r build/ ./bwc-test/ cd bwc-test/ @@ -74,6 +81,8 @@ jobs: steps: - uses: actions/checkout@v2 + - run: ./gradlew clean assemble + - id: security-plugin-version uses: madhead/read-java-properties@66cc8c88f5c6f6069ebfb42586024dd6ffe2e451 with: