From 34cf1852f0b3560d7872d84cd442f5f1e6a034b4 Mon Sep 17 00:00:00 2001 From: Andreas Heigl Date: Thu, 1 Aug 2024 17:37:59 +0200 Subject: [PATCH] Add text-coverage --- .github/workflows/ci.yml | 2 +- .gitignore | 2 ++ phpunit.xml.dist | 48 ++++++++++++++++++++-------------------- 3 files changed, 27 insertions(+), 25 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dfe8cda..3f1f8ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,5 +20,5 @@ jobs: - name: install tools run: composer require --dev phpunit/phpunit - name: Run Unit-Tests - run: ./vendor/bin/phpunit --testdox + run: ./vendor/bin/phpunit --testdox --coverage-text diff --git a/.gitignore b/.gitignore index 57872d0..0794651 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ /vendor/ +composer.lock +.phpunit.result.cache diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 99a9003..84cbf8c 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,27 +1,27 @@ - - - ./tests - + + + + tests + + - - - disable - - - - - - src - - - - - - - + + + src + +