Skip to content

Commit

Permalink
Didn't knew I could use a glob pattern here
Browse files Browse the repository at this point in the history
  • Loading branch information
Riduidel committed Sep 26, 2023
1 parent cedfc3e commit be70e34
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,11 @@ jobs:
TOKEN_FOR_GITHUB: ${{ secrets.TOKEN_FOR_GITHUB }}
TOKEN_FOR_GITLAB: ${{ secrets.TOKEN_FOR_GITLAB }}
# Seen on https://stackoverflow.com/a/70405596/15619
- name: Detect all jacoco.xml files
id: list-reports
run: echo "JACOCO_REPORTS=$(find . -iname jacoco.xml)" >> $GITHUB_OUTPUT
- name: Add coverage to PR
id: jacoco
uses: madrapps/jacoco-report@v1.3
uses: madrapps/jacoco-report@v1.6.1
with:
paths: ${{ steps.list-reports.outputs.GITHUB_OUTPUT }}
paths: **/target/site/jacoco/jacoco.xml

Check failure on line 26 in .github/workflows/on_pull_request_push_run_test_and_coverage.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/on_pull_request_push_run_test_and_coverage.yml#L26

could not parse as YAML: yaml: line 26: did not find expected alphabetic or numeric character [syntax-check]
Raw output
.github/workflows/on_pull_request_push_run_test_and_coverage.yml:26:0: could not parse as YAML: yaml: line 26: did not find expected alphabetic or numeric character [syntax-check]
token: "${{ secrets.GITHUB_TOKEN }}"
min-coverage-overall: 10
min-coverage-changed-files: 50
Expand Down

0 comments on commit be70e34

Please sign in to comment.