File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI - Continuous Integration
2
+ on :
3
+ pull_request :
4
+ types : [ opened, ready_for_review, synchronize, reopened ]
5
+ jobs :
6
+ phpunit :
7
+ name : PHPUnit
8
+ runs-on : ubuntu-latest
9
+
10
+ strategy :
11
+ fail-fast : false
12
+ matrix :
13
+ php-version :
14
+ - " 7.4"
15
+ - " 8.0"
16
+ - " 8.1"
17
+ dependency-versions :
18
+ - " lowest"
19
+ - " highest"
20
+
21
+ steps :
22
+ - name : Checkout
23
+ uses : actions/checkout@v3
24
+
25
+ - name : Setup PHP
26
+ uses : shivammathur/setup-php@v2
27
+ with :
28
+ php-version : ${{ matrix.php-version }}
29
+ coverage : none
30
+
31
+ - name : Install composer dependencies
32
+ uses : ramsey/composer-install@v2
33
+ with :
34
+ dependency-versions : ${{ matrix.dependency-versions }}
35
+
36
+ - name : Run PHPUnit
37
+ run : vendor/bin/phpunit tests
You can’t perform that action at this time.
0 commit comments