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 73ab528 commit e1e7115Copy full SHA for e1e7115
.github/workflows/test.yml
@@ -0,0 +1,28 @@
1
+name: Tests
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ run-tests:
7
8
+ runs-on: ubuntu-latest
9
+ strategy:
10
+ matrix:
11
+ php-versions: ['7.4', '8.0', '8.1']
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - name: Setup PHP
15
+ uses: shivammathur/setup-php@v2
16
+ with:
17
+ php-version: ${{ matrix.php-versions }}
18
+ - name: Install Dependencies
19
+ run: composer update --no-interaction --prefer-source
20
+ - name: Create Database
21
+ run: |
22
+ mkdir -p database
23
+ touch database/database.sqlite
24
+ - name: Execute tests (Unit and Feature tests) via PHPUnit
25
+ env:
26
+ DB_CONNECTION: sqlite
27
+ DB_DATABASE: database/database.sqlite
28
+ run: vendor/bin/phpunit
0 commit comments