We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 979f6dd commit 83259aaCopy full SHA for 83259aa
.github/workflows/test.yml
@@ -0,0 +1,36 @@
1
+name: Test
2
+
3
+on:
4
+ pull_request:
5
+ push:
6
+ branches:
7
+ - master
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ php_version: [7.2]
15
+ laravel_version: [5.5.*,6.*, 7.*]
16
17
+ steps:
18
+ - name: Checkout commit
19
+ uses: actions/checkout@v2
20
21
+ - name: Setup PHP
22
+ uses: shivammathur/setup-php@v1
23
+ with:
24
+ php-version: ${{ matrix.php_version }}
25
26
+ - name: Validate composer.json
27
+ run: composer validate
28
29
+ - name: Run composer install
30
+ run: composer install --no-interaction --no-suggest
31
32
+ - name: Install Laravel
33
+ run: composer update --no-interaction illuminate/database:^${{ matrix.laravel_version }}
34
35
+ - name: Run PHPUnit
36
+ run: ./vendor/bin/phpunit
0 commit comments