File tree 6 files changed +43
-62
lines changed
6 files changed +43
-62
lines changed Original file line number Diff line number Diff line change
1
+ name : Unit Tests
2
+
3
+ on : [push]
4
+
5
+ jobs :
6
+ build-test :
7
+ runs-on : ubuntu-latest
8
+
9
+ steps :
10
+ - uses : actions/checkout@v3
11
+ - uses : php-actions/composer@run-as-current-user
12
+
13
+ - name : PHPUnit Tests
14
+ uses : php-actions/phpunit@v4
15
+ with :
16
+ bootstrap : vendor/autoload.php
17
+ configuration : phpunit.xml
Original file line number Diff line number Diff line change 1
- tools :
2
- external_code_coverage : true
3
-
4
- checks :
5
- php :
6
- code_rating : true
1
+ build :
2
+ nodes :
3
+ analysis :
4
+ tests :
5
+ override :
6
+ - php-scrutinizer-run
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
MySQLite
2
2
========
3
- [ ![ Build Status] ( https://travis-ci.org /Vectorface/MySQLite. svg?branch=master )] ( https://travis-ci.org /Vectorface/MySQLite )
3
+ [ ![ Build Status] ( https://github.com /Vectorface/MySQLite/actions/workflows/ci.yml/badge. svg )] ( https://github.com /Vectorface/MySQLite/actions )
4
4
[ ![ Code Coverage] ( https://scrutinizer-ci.com/g/Vectorface/MySQLite/badges/coverage.png?b=master )] ( https://scrutinizer-ci.com/g/Vectorface/MySQLite/?branch=master )
5
5
6
6
MySQLite is an easy way to add MySQL functions to SQLite accessed through PDO. This can be useful for testing and development where an SQLite database may be more practical than a real MySQL database.
Original file line number Diff line number Diff line change 20
20
"source" : " https://github.com/Vectorface/MySQLite"
21
21
},
22
22
"require" : {
23
- "php" : " >=5.4 .0"
23
+ "php" : " ^8.0 .0"
24
24
},
25
25
"require-dev" : {
26
- "phpunit/phpunit" : " ^4.8" ,
27
- "squizlabs/php_codesniffer" : " ~2.0" ,
28
- "codeclimate/php-test-reporter" : " dev-master"
26
+ "phpunit/phpunit" : " ^9" ,
27
+ "squizlabs/php_codesniffer" : " ~2.0"
29
28
}
30
29
}
Original file line number Diff line number Diff line change 1
- <phpunit
2
- xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"
3
- xsi:noNamespaceSchemaLocation=" http://schema.phpunit.de/4.3/phpunit.xsd"
4
- backupGlobals=" false"
5
- colors=" true"
6
- backupStaticAttributes=" false"
7
- bootstrap=" vendor/autoload.php"
8
- >
9
- <testsuites >
10
- <testsuite name =" MySQL compatibility functions for SQLite" >
11
- <directory >./tests/</directory >
12
- </testsuite >
13
- </testsuites >
14
-
15
- <filter >
16
- <whitelist processUncoveredFilesFromWhitelist =" true" >
17
- <directory suffix =" .php" >./</directory >
18
- <exclude >
19
- <directory >vendor</directory >
20
- <directory >tests</directory >
21
- </exclude >
22
- </whitelist >
23
- </filter >
1
+ <?xml version =" 1.0" ?>
2
+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3/phpunit.xsd" backupGlobals =" false" colors =" true" backupStaticAttributes =" false" bootstrap =" vendor/autoload.php" >
3
+ <coverage processUncoveredFiles =" true" >
4
+ <include >
5
+ <directory suffix =" .php" >./</directory >
6
+ </include >
7
+ <exclude >
8
+ <directory >vendor</directory >
9
+ <directory >tests</directory >
10
+ </exclude >
11
+ </coverage >
12
+ <testsuites >
13
+ <testsuite name =" MySQL compatibility functions for SQLite" >
14
+ <directory >./tests/</directory >
15
+ </testsuite >
16
+ </testsuites >
24
17
</phpunit >
You can’t perform that action at this time.
0 commit comments