This repository was archived by the owner on May 6, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +16
-10
lines changed Expand file tree Collapse file tree 3 files changed +16
-10
lines changed Original file line number Diff line number Diff line change @@ -37,11 +37,13 @@ jobs:
37
37
${{ runner.os }}-php-${{ matrix.php-versions }}-
38
38
- name : Install Dependencies
39
39
run : composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
40
- # - name: Create Database
41
- # run: |
42
- # mkdir -p data
43
- # touch data/database.sqlite
44
- # - name: Execute tests (Unit and Feature tests) via PHPUnit
45
- # env:
46
- # DATABASE_URL: sqlite:///%kernel.project_dir%/data/database.sqlite
47
- # run: vendor/bin/phpunit
40
+ - name : Create Database
41
+ run : |
42
+ mkdir -p data
43
+ touch data/database.sqlite
44
+ - name : Execute tests (Unit and Feature tests) via PHPUnit
45
+ env :
46
+ DATABASE_URL : sqlite:///%kernel.project_dir%/data/database.sqlite
47
+ run : vendor/bin/phpunit --coverage-clover coverage.xml
48
+ - name : Upload to codecov
49
+ uses : codecov/codecov-action@v2
Original file line number Diff line number Diff line change 4
4
[ ![ Docker build] ( https://github.com/artandor/multistream-tools/actions/workflows/ci.yml/badge.svg )] ( https://github.com/artandor/multistream-tools/actions/workflows/ci.yml )
5
5
[ ![ Translation status] ( https://hosted.weblate.org/widgets/multistream-tools/-/glossary/svg-badge.svg )] ( https://hosted.weblate.org/engage/multistream-tools/ )
6
6
[ ![ Wallaby.js] ( https://img.shields.io/badge/wallaby.js-powered-blue.svg?style=flat&logo=github )] ( https://wallabyjs.com/oss/ )
7
+ [ ![ codecov] ( https://codecov.io/gh/artandor/multistream-tools/branch/main/graph/badge.svg?token=VJTVKRZ3DM )] ( https://codecov.io/gh/artandor/multistream-tools )
7
8
8
9
## Description
9
10
@@ -53,4 +54,4 @@ symfony serve -d
53
54
54
55
This repository contributors are welcome to use
55
56
[ Wallaby.js OSS License] ( https://wallabyjs.com/oss/ ) to get test results immediately as you type, and see the results in
56
- your editor right next to your code.
57
+ your editor right next to your code.
Original file line number Diff line number Diff line change 23
23
</testsuite >
24
24
</testsuites >
25
25
26
- <coverage processUncoveredFiles =" true" >
26
+ <coverage cacheDirectory = " .phpunit.cache/code-coverage " processUncoveredFiles =" true" >
27
27
<include >
28
28
<directory suffix =" .php" >src</directory >
29
29
</include >
30
+ <report >
31
+ <clover outputFile =" clover.xml" />
32
+ </report >
30
33
</coverage >
31
34
32
35
<listeners >
You can’t perform that action at this time.
0 commit comments