Skip to content

Bump testng from 7.6.1 to 7.7.0 in /driver-kop (#366) #3

Bump testng from 7.6.1 to 7.7.0 in /driver-kop (#366)

Bump testng from 7.6.1 to 7.7.0 in /driver-kop (#366) #3

name: Build and test
on:
pull_request:
branches:
- master
push:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- name: Build and Verify
run: mvn --no-transfer-progress --batch-mode verify
- name: package surefire test results
if: failure()
run: |
rm -rf test-results
mkdir test-results
find . -type d -name "*surefire*" -exec cp --parents -R {} test-results/ \;
zip -r test-results.zip test-results
- uses: actions/upload-artifact@v3
name: upload test-results
if: failure()
with:
name: test-results
path: test-results.zip