Skip to content

NA: Add badges to README #41

NA: Add badges to README

NA: Add badges to README #41

name: run unit tests
on:
push:
branches:
- 'main'
pull_request:
paths-ignore:
- '.github/**'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'temurin'
cache: 'maven'
- name: Build and test
run: mvn -B verify
- name: Sonar Report
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
mvn -B org.sonarsource.scanner.maven:sonar-maven-plugin:sonar