-
Notifications
You must be signed in to change notification settings - Fork 614
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pick enhancements from 1.3 into 1.4 - Shandra's IndirectObjects - Lonzak's ECDSA fixes - Many @OVERRIDES - Javadoc - Cleanups
- Loading branch information
Showing
21 changed files
with
909 additions
and
634 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Codacy Coverage Reporter | ||
|
||
on: [ push ] | ||
|
||
jobs: | ||
codacy-coverage-reporter: | ||
runs-on: ubuntu-latest | ||
name: codacy-coverage-reporter | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-java@v4 | ||
with: | ||
distribution: temurin | ||
java-version: 21 | ||
|
||
- name: Create coverage reports | ||
run: mvn -B verify --file pom.xml | ||
|
||
- name: Run codacy-coverage-reporter | ||
uses: codacy/codacy-coverage-reporter-action@v1 | ||
with: | ||
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} | ||
coverage-reports: ./openpdf/target/site/jacoco/jacoco.xml, ./pdf-toolbox/target/site/jacoco/jacoco.xml, ./openpdf-fonts-extra/target/site/jacoco/jacoco.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,53 +2,25 @@ | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | ||
|
||
name: OpenPDF maven build | ||
on: | ||
push: | ||
branches: [ '*' ] | ||
pull_request: | ||
branches: [ master, 1.3-java8, 1.4-java11 ] | ||
on: [ push, pull_request ] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
# Java 11 in this branch 1.4-java11 | ||
java: [ 11 ] | ||
name: Java ${{matrix.java}} | ||
name: Build with Java 11 | ||
steps: | ||
- uses: actions/checkout@v4.1.1 | ||
- name: Setup java | ||
uses: actions/setup-java@v4 | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-java@v4 | ||
with: | ||
distribution: temurin | ||
java-version: ${{matrix.java}} | ||
java-version: 11 | ||
|
||
- name: Check maven version | ||
run: mvn -v; echo "** ls **"; pwd && ls -l | ||
- name: Build with Maven | ||
run: mvn -B install --file pom.xml | ||
|
||
codacy-coverage-reporter: | ||
runs-on: ubuntu-latest | ||
name: Java 17 and codacy-coverage-reporter | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Setup java | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: temurin | ||
java-version: 17 | ||
- name: Build with Maven | ||
run: mvn -B verify --file pom.xml | ||
- name: Run codacy-coverage-reporter | ||
uses: codacy/codacy-coverage-reporter-action@v1 | ||
with: | ||
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} | ||
# or | ||
# api-token: ${{ secrets.CODACY_API_TOKEN }} | ||
coverage-reports: ./openpdf/target/site/jacoco/jacoco.xml,./pdf-toolbox/target/site/jacoco/jacoco.xml,./openpdf-fonts-extra/target/site/jacoco/jacoco.xml | ||
# or a comma-separated list for multiple reports | ||
# coverage-reports: <PATH_TO_REPORT>, <PATH_TO_REPORT> | ||
run: mvn -B install --file pom.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.