File tree 3 files changed +8
-28
lines changed
3 files changed +8
-28
lines changed Original file line number Diff line number Diff line change 16
16
- name : Setup PHP
17
17
uses : shivammathur/setup-php@v2
18
18
with :
19
- php-version : ' 8.0 '
19
+ php-version : ' 8.1 '
20
20
coverage : none
21
21
22
22
- name : Install composer dependencies
Original file line number Diff line number Diff line change 1
- name : run-tests
1
+ name : Tests
2
2
3
3
on : [push, pull_request]
4
4
8
8
strategy :
9
9
fail-fast : true
10
10
matrix :
11
- os : [ubuntu-latest, windows-latest ]
11
+ os : [ubuntu-latest]
12
12
php : [8.2]
13
13
laravel : [11.*]
14
14
stability : [prefer-lowest, prefer-stable]
46
46
run : sleep 5
47
47
48
48
- name : Execute tests
49
- run : ./ vendor/bin/testbench package:test --no-coverage
49
+ run : vendor/bin/phpunit
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <phpunit backupGlobals =" false"
3
- backupStaticAttributes =" false"
4
- bootstrap =" vendor/autoload.php"
2
+ <phpunit bootstrap =" vendor/autoload.php"
3
+ backupGlobals =" false"
5
4
colors =" true"
6
- convertErrorsToExceptions =" true"
7
- convertNoticesToExceptions =" true"
8
- convertWarningsToExceptions =" true"
9
- processIsolation =" false"
10
- stopOnFailure =" false"
11
- verbose =" true"
12
- >
5
+ stopOnFailure =" false" >
13
6
<testsuites >
14
- <testsuite name =" Binarcode Test Suite" >
7
+ <testsuite name =" BinarCode Test Suite" >
15
8
<directory >tests</directory >
16
9
</testsuite >
17
10
</testsuites >
18
- <coverage >
19
- <include >
20
- <directory suffix =" .php" >./src</directory >
21
- </include >
22
- <report >
23
- <html outputDirectory =" build/coverage" />
24
- <text outputFile =" build/coverage.txt" />
25
- <clover outputFile =" build/logs/clover.xml" />
26
- </report >
27
- </coverage >
28
- <logging >
29
- <junit outputFile =" build/report.junit.xml" />
30
- </logging >
31
11
</phpunit >
You can’t perform that action at this time.
0 commit comments