Skip to content

🚨 close p tag in javadoc. See #256 #434

🚨 close p tag in javadoc. See #256

🚨 close p tag in javadoc. See #256 #434

Workflow file for this run

---
name: Java 21 CI (Maven)
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
id-token: write
jobs:
build:
name: Build with Java 21
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Set up JDK 21
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 21
cache: maven
- name: Verify Java version
run: java -version
- name: Build with Maven
run: mvn -B -ntp clean verify
- name: Verify JaCoCo XML report
shell: bash
run: |
test -s target/site/jacoco/jacoco.xml
echo "JaCoCo report generated for commit ${GITHUB_SHA}"
echo "GitHub ref: ${GITHUB_REF}"
echo "GitHub ref name: ${GITHUB_REF_NAME}"
ls -lh target/site/jacoco/jacoco.xml
- name: Upload JaCoCo HTML report as artifact
uses: actions/upload-artifact@v7
with:
name: jacoco-html-report
path: target/site/jacoco
- name: Upload coverage to Codecov
if: ${{ !github.event.repository.private }}
uses: codecov/codecov-action@v7
with:
files: target/site/jacoco/jacoco.xml
override_commit: ${{ github.sha }}
override_branch: ${{ github.event_name == 'pull_request' && github.head_ref || github.ref_name }}
use_oidc: true
fail_ci_if_error: true
disable_search: true
verbose: true
- name: You shall not pass
run: mvn youshallnotpass:youshallnotpass
- name: jtcop
run: mvn jtcop:check
- name: Run PIT mutation testing
if: github.actor != 'dependabot[bot]'
run: mvn -Pci test-compile org.pitest:pitest-maven:mutationCoverage
env:
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_TOKEN }}
- name: Upload PIT HTML report as artifact
if: github.actor != 'dependabot[bot]'
uses: actions/upload-artifact@v7
with:
name: pit-html-report
path: target/pit-reports