Skip to content

Commit

Permalink
investigating
Browse files Browse the repository at this point in the history
  • Loading branch information
Tibor17 committed Jan 1, 2022
1 parent a94bc42 commit 089f18f
Showing 1 changed file with 28 additions and 18 deletions.
46 changes: 28 additions & 18 deletions .github/workflows/maven-verify.yml
Expand Up @@ -15,39 +15,49 @@
# specific language governing permissions and limitations
# under the License.

name: Verify
name: GitHub CI

on:
push:
branches-ignore:
- dependabot/**
pull_request:


jobs:
build:

strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
java: [8, 11, 17]
jdk: [temurin, zulu]
jdk: [temurin]
fail-fast: false

runs-on: ${{ matrix.os }}
timeout-minutes: 120

steps:
- name: Verify
uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v1
with:
ff-goal: 'clean install'
verify-goal: 'clean install -P run-its'
verify-fail-fast: false
- name: Upload artifact surefire-its
uses: actions/upload-artifact@v2-preview
if: failure()
with:
name: ${{ matrix.os }}-surefire-its
path: |
surefire-its/target/*/log.txt
surefire-its/target/**/surefire-reports/*
surefire-its/target/**/failsafe-reports/*
!surefire-its/target/failsafe-reports
- name: Checkout
uses: actions/checkout@v1

- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v2.4.0
with:
distribution: ${{ matrix.jdk }}
java-version: ${{ matrix.java }}
cache: 'maven'

- name: Build with Maven
run: mvn clean install -e -B -V -nsu --no-transfer-progress -P run-its -Dfailsafe-integration-test-port=8083

- name: Upload artifact surefire-its
uses: actions/upload-artifact@v2-preview
if: failure()
with:
name: ${{ matrix.os }}-surefire-its
path: |
surefire-its/target/*/log.txt
surefire-its/target/**/surefire-reports/*
surefire-its/target/**/failsafe-reports/*
!surefire-its/target/failsafe-reports

0 comments on commit 089f18f

Please sign in to comment.