Skip to content

Commit

Permalink
Merge pull request #3 from sroehrl/ci
Browse files Browse the repository at this point in the history
try this
  • Loading branch information
sroehrl authored Aug 5, 2022
2 parents 6844dea + 9394c33 commit 6ed4738
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,14 @@ jobs:
coverage:
needs: [ build, test ]
name: coverage
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Code Climate Test Reporter
uses: icalia-actions/[email protected]
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Test & publish code coverage
uses: danhunsaker/[email protected]
with:
command: before-build
github-token: ${{ secrets.GITHUB_TOKEN }}
clover-file: ./Tests/clover.xml
2 changes: 1 addition & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<directory suffix="Test.php">./</directory>
</exclude>
<report>
<clover outputFile="clover.xml"/>
<clover outputFile="Tests/clover.xml"/>
<html outputDirectory="Tests/_report"/>
</report>
</coverage>
Expand Down

0 comments on commit 6ed4738

Please sign in to comment.