File tree Expand file tree Collapse file tree 6 files changed +66
-18
lines changed Expand file tree Collapse file tree 6 files changed +66
-18
lines changed Original file line number Diff line number Diff line change 1
1
# Ignore all test and documentation with "export-ignore".
2
2
/.gitattributes export-ignore
3
3
/.gitignore export-ignore
4
- /.travis.yml export-ignore
5
4
/phpunit.xml export-ignore
6
5
/tests export-ignore
Original file line number Diff line number Diff line change
1
+ version : 2
2
+ updates :
3
+ - package-ecosystem : composer
4
+ directory : " /"
5
+ schedule :
6
+ interval : monthly
7
+ open-pull-requests-limit : 50
8
+ labels :
9
+ - " dependencies"
Original file line number Diff line number Diff line change
1
+ name : run-tests
2
+
3
+ on : [ push, pull_request ]
4
+
5
+ jobs :
6
+ test :
7
+ runs-on : ${{ matrix.os }}
8
+ strategy :
9
+ fail-fast : true
10
+ matrix :
11
+ os : [ ubuntu-latest ]
12
+ php : [ 8.0, 8.1 ]
13
+ laravel : [ 8.* ]
14
+ dependency-version : [ prefer-stable ]
15
+ include :
16
+ - laravel : 8.*
17
+
18
+ name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
19
+
20
+ steps :
21
+ - name : Checkout code
22
+ uses : actions/checkout@v2
23
+
24
+ - name : Setup PHP
25
+ uses : shivammathur/setup-php@v2
26
+ with :
27
+ php-version : ${{ matrix.php }}
28
+ extensions : curl
29
+ coverage : none
30
+
31
+ - name : Setup problem matchers
32
+ run : |
33
+ echo "::add-matcher::${{ runner.tool_cache }}/php.json"
34
+ echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
35
+
36
+ - name : Install dependencies
37
+ run : |
38
+ composer install --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-progress --no-scripts
39
+ env :
40
+ COMPOSER_AUTH : ${{ secrets.COMPOSER_AUTH }}
41
+
42
+ - name : Execute tests
43
+ run : composer test
Original file line number Diff line number Diff line change 1
1
/vendor
2
2
composer.phar
3
3
composer.lock
4
+ auth.json
5
+
6
+ phpunit.xml
4
7
.phpunit.result.cache
8
+
5
9
.DS_Store
6
- .idea /*
10
+ Thumbs.db
11
+ /.idea
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <phpunit backupGlobals =" false"
2
+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
+ xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.5/phpunit.xsd"
4
+ backupGlobals =" false"
3
5
backupStaticAttributes =" false"
4
6
bootstrap =" vendor/autoload.php"
5
7
colors =" true"
10
12
stopOnFailure =" false"
11
13
verbose =" true"
12
14
>
15
+ <coverage >
16
+ <include >
17
+ <directory suffix =" .php" >src/</directory >
18
+ </include >
19
+ </coverage >
13
20
<testsuites >
14
21
<testsuite name =" GeoIP Package Test Suite" >
15
22
<directory >./tests</directory >
You can’t perform that action at this time.
0 commit comments