Skip to content

Merge pull request #71 from jberet/dependabot/maven/org.jberet-jberet… #112

Merge pull request #71 from jberet/dependabot/maven/org.jberet-jberet…

Merge pull request #71 from jberet/dependabot/maven/org.jberet-jberet… #112

Workflow file for this run

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: JBeret Support CI
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
push:
branches: [ main ]
jobs:
build-test-matrix:
name: ${{ matrix.jdk-distribution }}-${{ matrix.jdk-version }}-${{ matrix.os }}
runs-on: ${{ matrix.os }}
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
jdk-distribution: [temurin]
jdk-version: [11, 17, 21]
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.jdk-distribution }} ${{ matrix.jdk-version }}
uses: actions/setup-java@v4
with:
distribution: ${{ matrix.jdk-distribution }}
java-version: ${{ matrix.jdk-version }}
- name: Run Tests
run: mvn -ntp -U -B -fae clean verify -P default
- uses: actions/upload-artifact@v4
if: failure()
with:
name: surefire-${{ matrix.jdk-distribution }}-${{ matrix.jdk-version }}-${{ matrix.os }}
path: '**/surefire-reports/*.txt'