Skip to content

Commit

Permalink
Remove coverage badge
Browse files Browse the repository at this point in the history
  • Loading branch information
faytekin committed Mar 12, 2024
1 parent 39a9399 commit cb10339
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 29 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,3 @@ jobs:
- name: Execute tests
run: composer test

- name: Make code coverage badge
if: matrix.php == 8.3 && matrix.laravel == 11
uses: timkrase/[email protected]
with:
coverage_badge_path: output/coverage.svg
push_badge: true
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Netgsm SMS Notification Channel for Laravel

![Tests](https://github.com/macellan/netgsm/workflows/Tests/badge.svg?branch=main)
![Code Coverage Badge](./badge.svg)
[![Latest Stable Version](https://poser.pugx.org/macellan/netgsm/v/stable)](https://packagist.org/packages/macellan/netgsm)
[![Total Downloads](https://poser.pugx.org/macellan/netgsm/downloads)](https://packagist.org/packages/macellan/netgsm)

Expand Down
27 changes: 6 additions & 21 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,32 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd"
bootstrap="vendor/autoload.php"
cacheResultFile=".phpunit.cache/test-results"
executionOrder="depends,defects"
beStrictAboutCoversAnnotation="true"
beStrictAboutOutputDuringTests="true"
beStrictAboutTodoAnnotatedTests="true"
failOnRisky="true"
failOnWarning="true"
verbose="true"
backupGlobals="false"
colors="true"
processIsolation="false"
stopOnError="true"
stopOnFailure="true"
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
>
<testsuites>
<testsuite name="Netgsm Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>

<coverage
cacheDirectory=".phpunit.cache/code-coverage"
processUncoveredFiles="true"
>
<include>
<directory suffix=".php">src</directory>
</include>
<report>
<clover outputFile="clover.xml" />
</report>
</coverage>
</phpunit>

0 comments on commit cb10339

Please sign in to comment.