We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 173915f commit cc8fde9Copy full SHA for cc8fde9
.github/workflows/tests.yml
@@ -0,0 +1,35 @@
1
+name: Tests
2
+
3
+on:
4
+ push:
5
+ pull_request:
6
+ schedule:
7
+ - cron: '0 0 * * *'
8
9
+jobs:
10
+ tests:
11
+ runs-on: ubuntu-latest
12
13
+ strategy:
14
+ fail-fast: true
15
+ matrix:
16
+ php: [7.4, 8.0, 8.1]
17
18
+ name: PHP ${{ matrix.php }}
19
20
+ steps:
21
+ - name: Checkout
22
+ uses: actions/checkout@v2
23
24
+ - name: Install PHP
25
+ uses: shivammathur/setup-php@v2
26
+ with:
27
+ php-version: ${{ matrix.php }}
28
+ tools: composer:v2
29
+ coverage: xdebug
30
31
+ - name: Install dependencies
32
+ run: composer install
33
34
+ - name: Execute tests
35
+ run: vendor/bin/phpunit --verbose
0 commit comments