File tree Expand file tree Collapse file tree 4 files changed +50
-32
lines changed Expand file tree Collapse file tree 4 files changed +50
-32
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ tests :
7
+ runs-on : ubuntu-latest
8
+
9
+ strategy :
10
+ matrix :
11
+ php : [5.6, 7.0, 7.1]
12
+
13
+ steps :
14
+ - name : Checkout code
15
+ uses : actions/checkout@v2
16
+
17
+ - name : Setup PHP
18
+ uses : shivammathur/setup-php@v2
19
+ with :
20
+ php-version : ${{ matrix.php }}
21
+ extensions : zip, pdo, sqlite
22
+ coverage : none
23
+
24
+ - name : Checkout Laravel Sample
25
+ uses : actions/checkout@v2
26
+ with :
27
+ repository : codeception/codeception-laravel5-sample
28
+ path : framework-tests
29
+ ref : codeception-3.0
30
+
31
+ - name : Install Laravel Sample
32
+ run : |
33
+ composer update --no-dev --prefer-dist --no-interaction
34
+ cp .env.testing .env
35
+ touch storage/testing.sqlite
36
+ php artisan migrate --env=testing --database=sqlite_testing --force
37
+ php artisan config:clear
38
+ working-directory : framework-tests
39
+
40
+ - name : Validate composer.json and composer.lock
41
+ run : composer validate
42
+
43
+ - name : Install dependencies
44
+ run : composer install --prefer-dist --no-progress --no-interaction --no-suggest
45
+
46
+ - name : Run test suite
47
+ run : |
48
+ php vendor/bin/codecept build -c framework-tests
49
+ php vendor/bin/codecept run functional -c framework-tests
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 14
14
}
15
15
],
16
16
"minimum-stability" : " RC" ,
17
-
18
17
"require" : {
19
18
"php" : " >=5.6.0 <8.0" ,
20
19
"codeception/lib-innerbrowser" : " ^1.0" ,
Original file line number Diff line number Diff line change 1
1
# Codeception module for Laravel 5 framework
2
2
3
- [ ![ Build Status] ( https://travis-ci.org /Codeception/module-laravel5.svg?branch=master )] ( https://travis-ci.org/Codeception/module-laravel5 )
3
+ ![ Build Status] ( https://github.com /Codeception/module-laravel5/workflows/CI/badge.svg )
4
4
5
5
## Installation
6
6
You can’t perform that action at this time.
0 commit comments