Skip to content

Merge pull request #102 from diverse-project/fix_wizard_templates #82

Merge pull request #102 from diverse-project/fix_wizard_templates

Merge pull request #102 from diverse-project/fix_wizard_templates #82

Workflow file for this run

# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Build and Verify
on:
push:
branches:
- '**'
pull_request:
branches: [ "master" ]
jobs:
build-verify:
name: mvn verify
runs-on: ubuntu-latest
steps:
- name: Checkout Code 📘
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Set up Maven 🍮
uses: stCarolas/setup-maven@v4.5
with:
maven-version: 3.9.3
- name: Build and Verify ⚒️🧪
run: xvfb-run -a mvn -B verify --file pom.xml
#- name: Publish Test Report 🔍
# uses: mikepenz/action-junit-report@v3
# if: always() # always run even if the previous step fails
# with:
# report_paths: '**/target/surefire-reports/TEST-*.xml'
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2.3.0
if: always() # always run even if the previous step fails
with:
junit_files: "**/target/surefire-reports/TEST-*.xml"
#- name: Archive logs 📦
# uses: actions/upload-artifact@v3
# if: always() # always run even if the previous step fails
# with:
# name: test-workbench-logs
# path: '**/.log'