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 ffc851b commit 97fa6b1Copy full SHA for 97fa6b1
.github/workflows/run-tests.yml
@@ -0,0 +1,32 @@
1
+name: run-tests
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ tests:
7
+ runs-on: ${{ matrix.os }}
8
+ strategy:
9
+ fail-fast: true
10
+ matrix:
11
+ os: [ubuntu-latest]
12
+ php: [8.0, 7.4, 7.3]
13
+ dependency-version: [prefer-lowest, prefer-stable]
14
15
+ name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
16
17
+ steps:
18
+ - name: Checkout code
19
+ uses: actions/checkout@v2
20
21
+ - name: Setup PHP
22
+ uses: shivammathur/setup-php@v2
23
+ with:
24
+ php-version: ${{ matrix.php }}
25
+ coverage: none
26
27
+ - name: Install dependencies
28
+ run: |
29
+ composer install --prefer-dist --no-interaction --${{ matrix.dependency-version }}
30
31
+ - name: Execute tests
32
+ run: vendor/bin/phpunit
0 commit comments