aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel <mail@danielkesselberg.de>2024-12-17 16:20:14 +0100
committerGitHub <noreply@github.com>2024-12-17 16:20:14 +0100
commitfe90aa3ffe0a8127a92cf0226333c44ed5b793dc (patch)
treea1f3314fbf24833104cd099e2b6b52e21f1e6171
parent7876be3c26f9d2348b4d864300f84b177f466545 (diff)
parent11a2be4c6690508017a0dbec9bb5fef3d0691a80 (diff)
downloadnextcloud-server-fe90aa3ffe0a8127a92cf0226333c44ed5b793dc.tar.gz
nextcloud-server-fe90aa3ffe0a8127a92cf0226333c44ed5b793dc.zip
Merge pull request #49833 from nextcloud/chore/noid/coverage
chore: ignore vendor-bin for coverage
-rw-r--r--.github/workflows/files-external.yml2
-rw-r--r--tests/phpunit-autotest.xml1
2 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/files-external.yml b/.github/workflows/files-external.yml
index 4923e0d18a9..123e281e98e 100644
--- a/.github/workflows/files-external.yml
+++ b/.github/workflows/files-external.yml
@@ -74,7 +74,7 @@ jobs:
./occ app:enable --force files_external
- name: PHPUnit
- run: composer run test:files_external \
+ run: composer run test:files_external -- \
${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
diff --git a/tests/phpunit-autotest.xml b/tests/phpunit-autotest.xml
index b3d615ca0dc..532d5432bde 100644
--- a/tests/phpunit-autotest.xml
+++ b/tests/phpunit-autotest.xml
@@ -30,6 +30,7 @@
<directory suffix=".php">../build</directory>
<directory suffix=".php">../lib/composer</directory>
<directory suffix=".php">../tests</directory>
+ <directory suffix=".php">../vendor-bin</directory>
</exclude>
</coverage>
<listeners>