File tree Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Original file line number Diff line number Diff line change 1
1
name : run-tests
2
2
3
- on : [push, pull_request]
3
+ on :
4
+ push :
5
+ branches : [main, develop]
6
+ pull_request :
7
+ branches : [main, develop]
4
8
5
9
jobs :
6
10
test :
7
11
runs-on : ${{ matrix.os }}
8
12
strategy :
9
13
fail-fast : true
10
14
matrix :
11
- os : [ubuntu-latest]
12
- php : [8.0, 8.1, 8.2 ]
13
- laravel : [9.*, 10.*]
14
- stability : [prefer-stable]
15
- exclude :
15
+ os : [ubuntu-latest, windows-latest ]
16
+ php : [8.1 ]
17
+ laravel : [10.*]
18
+ stability : [prefer-lowest, prefer- stable]
19
+ include :
16
20
- laravel : 10.*
17
- php : 8.0
21
+ testbench : 8.0
18
22
19
23
name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
20
24
33
37
run : |
34
38
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
35
39
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
40
+
36
41
- name : Install dependencies
37
42
run : |
38
- composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
43
+ composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
39
44
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
45
+
40
46
- name : Execute tests
41
- run : vendor/bin/phpunit
47
+ run : vendor/bin/pest
You can’t perform that action at this time.
0 commit comments