Skip to content

Commit

Permalink
Changed action to publish coverage reports
Browse files Browse the repository at this point in the history
  • Loading branch information
ruff committed Oct 2, 2023
1 parent 3ec2ebd commit c4e2256
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 10 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.php73.ant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
- '**.md'
- '**.tmpl'
- '.github/**'
workflow_dispatch:

jobs:
build:
Expand All @@ -32,7 +33,8 @@ jobs:
with:
files: "./build/logs/junit.xml"
- name: Publish Coverage Report
uses: lucassabreu/comment-coverage-clover@main
uses: danhunsaker/[email protected]
if: always()
with:
file: "./build/logs/clover.xml"
github-token: ${{ secrets.GITHUB_TOKEN }}
clover-file: "./build/logs/clover.xml"
6 changes: 4 additions & 2 deletions .github/workflows/build.php74.ant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
- '**.md'
- '**.tmpl'
- '.github/**'
workflow_dispatch:

jobs:
build:
Expand All @@ -32,7 +33,8 @@ jobs:
with:
files: "./build/logs/junit.xml"
- name: Publish Coverage Report
uses: lucassabreu/comment-coverage-clover@main
uses: danhunsaker/[email protected]
if: always()
with:
file: "./build/logs/clover.xml"
github-token: ${{ secrets.GITHUB_TOKEN }}
clover-file: "./build/logs/clover.xml"
6 changes: 4 additions & 2 deletions .github/workflows/build.php80.ant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
- '**.md'
- '**.tmpl'
- '.github/**'
workflow_dispatch:

jobs:
build:
Expand All @@ -32,7 +33,8 @@ jobs:
with:
files: "./build/logs/junit.xml"
- name: Publish Coverage Report
uses: lucassabreu/comment-coverage-clover@main
uses: danhunsaker/[email protected]
if: always()
with:
file: "./build/logs/clover.xml"
github-token: ${{ secrets.GITHUB_TOKEN }}
clover-file: "./build/logs/clover.xml"
6 changes: 4 additions & 2 deletions .github/workflows/build.php81.ant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
- '**.md'
- '**.tmpl'
- '.github/**'
workflow_dispatch:

jobs:
build:
Expand All @@ -32,7 +33,8 @@ jobs:
with:
files: "./build/logs/junit.xml"
- name: Publish Coverage Report
uses: lucassabreu/comment-coverage-clover@main
uses: danhunsaker/[email protected]
if: always()
with:
file: "./build/logs/clover.xml"
github-token: ${{ secrets.GITHUB_TOKEN }}
clover-file: "./build/logs/clover.xml"
5 changes: 3 additions & 2 deletions .github/workflows/build.php81.release.ant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ jobs:
with:
files: "./build/logs/junit.xml"
- name: Publish Coverage Report
uses: lucassabreu/comment-coverage-clover@main
uses: danhunsaker/[email protected]
if: always()
with:
file: "./build/logs/clover.xml"
github-token: ${{ secrets.GITHUB_TOKEN }}
clover-file: "./build/logs/clover.xml"
- name: Make Release
uses: "marvinpinto/action-automatic-releases@latest"
with:
Expand Down

0 comments on commit c4e2256

Please sign in to comment.