Skip to content

Commit

Permalink
PG-18
Browse files Browse the repository at this point in the history
  • Loading branch information
gammamatrix committed Nov 27, 2023
1 parent adbb3dc commit 4a835dd
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,10 @@ jobs:
XDEBUG_MODE: coverage
with:
php_extensions: xdebug
coverage_clover: clover.xml
- name: Generate test coverage badge
uses: timkrase/[email protected]
with:
coverage_badge_path: 'badge-coverage.svg'
push_badge: true
repo_token: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Playground

![Test Coverage](https://raw.githubusercontent.com/gammamatrix/playground/develop/badge-coverage.svg)
![Playground CI Workflow](https://github.com/gammamatrix/playground/actions/workflows/ci.yml/badge.svg?)

This is the base package for Playground.
Expand Down
10 changes: 5 additions & 5 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
<testsuite name="Unit">
<directory>tests/Unit</directory>
</testsuite>
<!-- <testsuite name="Feature"> -->
<!-- <directory>tests/Feature</directory> -->
<!-- </testsuite> -->
<testsuite name="Feature">
<directory>tests/Feature</directory>
</testsuite>
</testsuites>
<coverage
<!-- <coverage
includeUncoveredFiles="true"
pathCoverage="false"
ignoreDeprecatedCodeUnits="true"
Expand All @@ -45,7 +45,7 @@
<text outputFile="tests/logs/coverage.txt" showUncoveredFiles="false" showOnlySummary="true"/>
<xml outputDirectory="tests/logs/xml"/>
</report>
</coverage>
</coverage> -->
<logging>
<junit outputFile="tests/logs/junit.xml"/>
<teamcity outputFile="tests/logs/teamcity.txt"/>
Expand Down

0 comments on commit 4a835dd

Please sign in to comment.