Skip to content

Refactor optimization type handling and update documentation #1

Refactor optimization type handling and update documentation

Refactor optimization type handling and update documentation #1

Workflow file for this run

name: Code Quality
on:
push:
branches: [ "master", "main" ]
pull_request:
branches: [ "master", "main" ]
jobs:
quality:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Run Spotless check
run: mvn -B spotless:check --file pom.xml
- name: Check code coverage
run: mvn -B clean test jacoco:report --file pom.xml -Dseed=12345 -Duser.seed=12345
- name: Upload coverage to Codecov
if: always()
uses: codecov/codecov-action@v4
with:
file: ./**/target/site/jacoco/jacoco.xml
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}