File tree Expand file tree Collapse file tree 5 files changed +25
-3
lines changed Expand file tree Collapse file tree 5 files changed +25
-3
lines changed Original file line number Diff line number Diff line change 17
17
- name : Install
18
18
run : composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable --no-suggest
19
19
- name : Unit tests
20
- run : ./vendor/bin/phpunit --coverage-clover=coverage.xml --coverage-text
20
+ run : composer test
21
21
- name : Codecov
22
22
run : bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change @@ -2,4 +2,6 @@ composer.lock
2
2
phpunit.xml
3
3
vendor
4
4
clover.xml
5
- .phpunit.result.cache
5
+ .phpunit.result.cache
6
+ .coverage
7
+ coverage.xml
Original file line number Diff line number Diff line change 15
15
},
16
16
"require-dev" : {
17
17
"friendsofphp/php-cs-fixer" : " ^2.16" ,
18
- "phpunit/phpunit" : " ^9.0.0"
18
+ "pestphp/drift" : " ^0.3.0" ,
19
+ "pestphp/pest" : " ^0.3.8" ,
20
+ "phpunit/phpunit" : " ^9.3.10"
19
21
},
20
22
"suggest" : {
21
23
"ext-mbstring" : " If ext-mbstring is not available you MUST install symfony/polyfill-mbstring"
38
40
"branch-alias" : {
39
41
"dev-master" : " 1.0-dev"
40
42
}
43
+ },
44
+ "scripts" : {
45
+ "format" : [
46
+ " vendor/bin/php-cs-fixer fix"
47
+ ],
48
+ "test" : [
49
+ " ./vendor/bin/pest --coverage --min=100 --coverage-html=.coverage --coverage-clover=coverage.xml"
50
+ ]
41
51
}
42
52
}
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ namespace Tests ;
4
+
5
+ // ..
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ use ArkEcosystem \Tests \Client \TestCase ;
4
+
5
+ uses (TestCase::class)->in (__DIR__ );
You can’t perform that action at this time.
0 commit comments