File tree 3 files changed +4
-15
lines changed
3 files changed +4
-15
lines changed Original file line number Diff line number Diff line change 57
57
- name : Check codestyle
58
58
run : composer check
59
59
60
- - name : Run test suite (Full)
60
+ - name : Run test suite
61
61
run : composer phpunit
62
- if : ${{ matrix.host-os != 'windows-latest' }}
63
-
64
- - name : Run test suite (Windows)
65
- run : phpdbg -qrr ./vendor/bin/phpunit --testsuite BagIt-Windows
66
- if : ${{ matrix.host-os == 'windows-latest' }}
67
62
68
63
- name : Upload coverage to Codecov
69
64
uses : codecov/codecov-action@v1
Original file line number Diff line number Diff line change 25
25
"phpunit/phpunit" : " ^9.0" ,
26
26
"sebastian/phpcpd" : " ^6.0" ,
27
27
"squizlabs/php_codesniffer" : " ^3.5" ,
28
- "donatj/mock-webserver" : " ^2.1 " ,
28
+ "donatj/mock-webserver" : " ^2.6 " ,
29
29
"phpstan/phpstan" : " ^1.4"
30
30
},
31
31
"autoload" : {
50
50
" ./vendor/bin/phpcpd --suffix='.php' src"
51
51
],
52
52
"phpunit" : [
53
- " phpdbg -qrr ./vendor/bin/phpunit --testsuite BagIt"
53
+ " phpdbg -qrr ./vendor/bin/phpunit -d memory_limit=-1 - -testsuite BagIt"
54
54
],
55
55
"test" : [
56
56
" @check" ,
Original file line number Diff line number Diff line change 20
20
</coverage >
21
21
<testsuites >
22
22
<testsuite name =" BagIt" >
23
- <directory suffix =" .php" >./tests</directory >
24
- <exclude >./tests/BagItTestFramework.php</exclude >
25
- </testsuite >
26
- <testsuite name =" BagIt-Windows" >
27
- <directory suffix =" .php" >./tests</directory >
28
- <exclude >./tests/BagItTestFramework.php</exclude >
29
- <exclude >./tests/FetchTest.php</exclude >
23
+ <directory suffix =" Test.php" >./tests</directory >
30
24
</testsuite >
31
25
</testsuites >
32
26
<logging />
You can’t perform that action at this time.
0 commit comments