There was an error while loading. Please reload this page.
1 parent 669a92c commit 38c8a62Copy full SHA for 38c8a62
1 file changed
.github/workflows/tests.yml
@@ -0,0 +1,45 @@
1
+name: Tests
2
+
3
+on:
4
+ push:
5
+ pull_request:
6
7
+jobs:
8
+ test:
9
+ runs-on: ubuntu-latest
10
11
+ strategy:
12
+ fail-fast: false
13
+ matrix:
14
+ php:
15
+ - "5.6"
16
+ - "7.0"
17
+ - "7.1"
18
+ - "7.2"
19
+ - "7.3"
20
+ - "7.4"
21
+ - "8.0"
22
+ - "8.1"
23
+ - "8.2"
24
+ - "8.3"
25
+ - "8.4"
26
+ - "8.5"
27
28
+ name: "PHP ${{ matrix.php }}"
29
30
+ steps:
31
+ - uses: actions/checkout@v5
32
33
+ - name: Setup PHP
34
+ uses: shivammathur/setup-php@v2
35
+ with:
36
+ php-version: ${{ matrix.php }}
37
+ tools: composer
38
39
+ - name: Install dependencies
40
+ run: composer update
41
42
+ - name: Run tests
43
+ run: cd test && ../vendor/bin/run_unit_tests
44
45
+# vim:ts=2:sw=2:et
0 commit comments