From fd10de29c5705064de62a8cb69226733dd1075a0 Mon Sep 17 00:00:00 2001 From: Asko Nõmm Date: Sun, 10 Nov 2024 22:59:44 +0200 Subject: Add phpunit.xml --- .github/workflows/coverage.yml | 3 +++ phpunit.xml | 16 ++++++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index a1441fe..daf2733 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -18,6 +18,9 @@ jobs: - name: Set-up Composer uses: php-actions/composer@v6 + - name: Give all permissions to tests/ directory + run: chmod -R 0777 tests/ + - name: Run tests and collect coverage run: ./vendor/bin/phpunit tests --coverage-clover coverage.xml tests diff --git a/phpunit.xml b/phpunit.xml index 43bb6c3..6ed2107 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,13 +1,17 @@ - + tests - - - src - - \ No newline at end of file -- cgit v1.2.3