File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 9
9
jobs :
10
10
tests :
11
11
runs-on : ubuntu-latest
12
+ strategy :
13
+ fail-fast : true
14
+ matrix :
15
+ testbench : ['^6.12', '^7.19']
16
+ name : Testbench ${{ matrix.testbench }}
12
17
steps :
13
18
- uses : actions/checkout@v2
14
19
- name : Install Dependencies
15
20
run : php /usr/bin/composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
21
+ - name : Install Testbench
22
+ run : php /usr/bin/composer require -q --dev --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist orchestra/testbench:${{ matrix.testbench }}
16
23
- name : Execute tests via PHPUnit
17
24
run : php vendor/bin/phpunit --stop-on-failure
Original file line number Diff line number Diff line change 45
45
"minimum-stability" : " dev" ,
46
46
"prefer-stable" : true ,
47
47
"require-dev" : {
48
- "orchestra/testbench" : " ^7.19 " ,
48
+ "orchestra/testbench" : " ^6.12 " ,
49
49
"phpunit/phpunit" : " ^9.5"
50
50
}
51
51
}
Original file line number Diff line number Diff line change 9
9
class ExportPostmanWithCacheTest extends TestCase
10
10
{
11
11
use \Orchestra \Testbench \Concerns \HandlesRoutes;
12
- use \Orchestra \Testbench \Concerns \InteractsWithPublishedFiles;
13
-
14
- protected $ files = [
15
- 'routes/testbench.php ' ,
16
- 'bootstrap/cache/routes-v7.php ' ,
17
- ];
18
12
19
13
protected function setUp (): void
20
14
{
You can’t perform that action at this time.
0 commit comments