NIFI-10038 Added Java 17 to system-tests workflow (#6060)

This commit is contained in:
exceptionfactory 2022-05-23 15:31:42 -05:00 committed by GitHub
parent a4797327fc
commit c9c7d5f5a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 42 additions and 0 deletions

View File

@ -21,9 +21,11 @@ on:
- cron: "0 0 * * *"
push:
paths:
- '.github/workflows/system-tests.yml'
- 'nifi-system-tests/**'
pull_request:
paths:
- '.github/workflows/system-tests.yml'
- 'nifi-system-tests/**'
env:
@ -51,6 +53,46 @@ env:
-pl nifi-system-tests/nifi-stateless-system-test-suite
jobs:
ubuntu-17:
timeout-minutes: 120
runs-on: ubuntu-latest
name: Ubuntu Java 17
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Set up Java 17
uses: actions/setup-java@v2
with:
distribution: zulu
java-version: 17
cache: 'maven'
- name: Build Dependencies
env:
MAVEN_OPTS: >-
${{ env.DEFAULT_MAVEN_OPTS }}
run: >
${{ env.MAVEN_COMMAND }}
${{ env.MAVEN_BUILD_ARGUMENTS }}
${{ env.MAVEN_PROJECTS }}
- name: Run Tests
env:
MAVEN_OPTS: >-
${{ env.DEFAULT_MAVEN_OPTS }}
run: >
${{ env.MAVEN_COMMAND }}
${{ env.MAVEN_RUN_ARGUMENTS }}
${{ env.MAVEN_PROJECTS }}
- name: Upload Troubleshooting Logs
if: failure() || cancelled()
uses: actions/upload-artifact@v2
with:
name: ubuntu-17-troubleshooting-logs
path: |
nifi-system-tests/nifi-system-test-suite/target/failsafe-reports/**/*.txt
nifi-system-tests/nifi-system-test-suite/target/surefire-reports/**/*.txt
nifi-system-tests/nifi-system-test-suite/target/troubleshooting/**/*
retention-days: 7
ubuntu:
timeout-minutes: 120
runs-on: ubuntu-latest