File tree Expand file tree Collapse file tree 8 files changed +60
-98
lines changed Expand file tree Collapse file tree 8 files changed +60
-98
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- ## Status
2
- <!-- **READY/WIP/HOLD** -->
3
- ** READY/WIP/HOLD**
4
-
5
1
## Description
6
2
A few sentences describing the overall goals of the pull request's commits.
7
3
8
- ## Related PRs
9
- List related PRs against other branches:
10
-
11
- branch | PR
12
- ------ | ------
13
- other_pr_production | [ link] ( )
14
- other_pr_master | [ link] ( )
15
-
16
4
## Todos
17
5
- [ ] Tests
18
6
- [ ] Documentation
Original file line number Diff line number Diff line change
1
+ name : Run Tests
2
+ on :
3
+ push :
4
+ pull_request :
5
+ schedule :
6
+ - cron : 0 0 * * *
7
+ jobs :
8
+ run-tests :
9
+ runs-on : ubuntu-latest
10
+ strategy :
11
+ fail-fast : false
12
+ matrix :
13
+ php :
14
+ - 7.4
15
+ - 7.3
16
+ - 8.0
17
+ laravel :
18
+ - 8.*
19
+ - 7.*
20
+ dependency-version :
21
+ - prefer-lowest
22
+ - prefer-stable
23
+ include :
24
+ - laravel : 8.*
25
+ testbench : 6.*
26
+ - laravel : 7.*
27
+ testbench : 5.*
28
+ name : >-
29
+ P${{ matrix.php }} - L${{ matrix.laravel }} - ${{
30
+ matrix.dependency-version }}
31
+ steps :
32
+ - name : Checkout code
33
+ uses : actions/checkout@v1
34
+ - name : Cache dependencies
35
+ uses : actions/cache@v1
36
+ with :
37
+ path : ~/.composer/cache/files
38
+ key : >-
39
+ dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php
40
+ }}-composer-${{ hashFiles('composer.json') }}
41
+ - name : Setup PHP
42
+ uses : shivammathur/setup-php@v2
43
+ with :
44
+ php-version : ' ${{ matrix.php }}'
45
+ coverage : none
46
+ - name : Install dependencies
47
+ run : >
48
+ composer require "laravel/framework:${{ matrix.laravel }}"
49
+ "orchestra/testbench:${{ matrix.testbench }}" --no-interaction
50
+ --no-update
51
+
52
+ composer update --${{ matrix.dependency-version }} --prefer-dist
53
+ --no-interaction --no-suggest
54
+ - name : Execute tests
55
+ run : vendor/bin/phpunit
56
+
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2
2
3
3
[ ![ Packagist Version] ( https://img.shields.io/packagist/v/sixlive/laravel-json-schema-assertions.svg?style=flat-square )] ( https://packagist.org/packages/sixlive/laravel-json-schema-assertions )
4
4
[ ![ Packagist Downloads] ( https://img.shields.io/packagist/dt/sixlive/laravel-json-schema-assertions.svg?style=flat-square )] ( https://packagist.org/packages/sixlive/laravel-json-schema-assertions )
5
- [ ![ Travis] ( https://img.shields.io/travis/sixlive/laravel-json-schema-assertions.svg?style=flat-square )] ( https://travis-ci.org/sixlive/laravel-json-schema-assertions )
6
- [ ![ Code Quality] ( https://img.shields.io/scrutinizer/g/sixlive/laravel-json-schema-assertions.svg?style=flat-square )] ( https://scrutinizer-ci.com/g/sixlive/laravel-json-schema-assertions/ )
7
- [ ![ Code Coverage] ( https://img.shields.io/scrutinizer/coverage/g/sixlive/laravel-json-schema-assertions.svg?style=flat-square )] ( https://scrutinizer-ci.com/g/sixlive/laravel-json-schema-assertions/ )
8
5
[ ![ StyleCI] ( https://github.styleci.io/repos/139347110/shield )] ( https://github.styleci.io/repos/139347110 )
9
6
10
7
JSON Schema schema assertions for Laravel test responses. Uses [ swaggest/php-json-schema] ( https://github.com/swaggest/php-json-schema ) under the hood.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 19
19
}
20
20
],
21
21
"require" : {
22
- "php" : " >=7.2" ,
22
+ "php" : " >=7.2|^8.0 " ,
23
23
"phpunit/phpunit" : " ^8.0" ,
24
- "illuminate/support" : " ^7.0" ,
25
- "sixlive/json-schema-assertions" : " ^1.0 "
24
+ "illuminate/support" : " ^7.0|^8.0 " ,
25
+ "sixlive/json-schema-assertions" : " ^1.2 "
26
26
},
27
27
"require-dev" : {
28
28
"friendsofphp/php-cs-fixer" : " ^2.12" ,
29
- "orchestra/testbench" : " ^5.0"
29
+ "orchestra/testbench" : " ^5.0|^6.0 "
30
30
},
31
31
"autoload" : {
32
32
"psr-4" : {
You can’t perform that action at this time.
0 commit comments