Skip to content

Commit 19684b9

Browse files
aegypiussoyuka
authored andcommitted
ci: improve coverage report (api-platform#6085)
* test: remove nullable return type as it can't happen * ci: uploads individual component coverage reports
1 parent 32ff33b commit 19684b9

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,14 @@ jobs:
202202
- RamseyUuid
203203
- GraphQl
204204
- Serializer
205+
- Symfony
206+
include:
207+
- php: '8.1'
208+
coverage: true
209+
- php: '8.2'
210+
coverage: true
211+
- php: '8.3'
212+
coverage: true
205213
fail-fast: false
206214
steps:
207215
- name: Checkout

phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
<directory>features</directory>
3030
<directory>tests</directory>
3131
<directory>vendor</directory>
32+
<directory>src/**/Tests/</directory>
3233
<file>.php-cs-fixer.dist.php</file>
3334
</exclude>
3435
</coverage>

0 commit comments

Comments
 (0)