Skip to content

Update dependency org.junit.jupiter:junit-jupiter-engine to v6.0.2 #1850

Update dependency org.junit.jupiter:junit-jupiter-engine to v6.0.2

Update dependency org.junit.jupiter:junit-jupiter-engine to v6.0.2 #1850

Workflow file for this run

#
# Copyright 2010-2020 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
name: Container Support
on: [push, pull_request]
permissions: read-all
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
matrix:
cache: [maven]
distribution: ['zulu']
java: [17]
os: [macos-latest, ubuntu-latest, windows-latest]
token: ["tomcat9", "tomee80", "wildfly26", "liberty-ee8", "jetty", "payara5", "resin"]
exclude:
- os: windows-latest
token: liberty-ee8
fail-fast: false
max-parallel: 6
name: Test JDK ${{ matrix.java }}, ${{ matrix.os }}, ${{ matrix.token }}
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Setup Java ${{ matrix.java }} ${{ matrix.distribution }}
uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e # v5
with:
cache: ${{ matrix.cache }}
distribution: ${{ matrix.distribution }}
java-version: ${{ matrix.java }}
- name: Build, start, test, and stop with ${{ matrix.token }}
run: |
echo "Running package..."
./mvnw package --batch-mode --no-transfer-progress --show-version -D"license.skip=true" -DskipTests -P ${{ matrix.token }}
echo "Starting container..."
nohup ./mvnw cargo:run -P ${{ matrix.token }} > cargo.log 2>&1 &
echo "Waiting 60s for server to start..."
sleep 60
echo "Running integration tests..."
./mvnw failsafe:integration-test -P ${{ matrix.token }}
echo "Verify integration tests..."
./mvnw failsafe:verify -P${{ matrix.token }}
echo "Stopping container..."
./mvnw cargo:stop -P${{ matrix.token }}