Skip to content

github action

github action #12

Workflow file for this run

name: Tests
on:
push:
branches: [ feature/* , main, hotfix/*, release/*, fixes/* ]
# pull_request:
# branches: [ main, release/* ]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build and Run Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Build and Run Tests
run: mvn install
- name: current dir
run: pwd
- name: current dir
run: ls -la ./target/surefire-reports
- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
if: success() || failure() # always run even if the previous step fails
with:
report_paths: '**/target/surefire-reports/test-*.xml'
detailed_summary: true