File tree 2 files changed +48
-53
lines changed
Filter options
2 files changed +48
-53
lines changed
Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+
7
+ jobs :
8
+ test :
9
+ name : ' Test ${{ matrix.deps }} on PHP ${{ matrix.php }}'
10
+ runs-on : ubuntu-latest
11
+
12
+ strategy :
13
+ fail-fast : false
14
+ matrix :
15
+ php : ['7.1.3', '7.2', '7.3', '7.4', '8.0']
16
+ include :
17
+ - php : ' 7.4'
18
+ deps : lowest
19
+ deprecations : max[self]=0
20
+ - php : ' 8.0'
21
+ deps : highest
22
+
23
+ steps :
24
+ - name : Checkout code
25
+ uses : actions/checkout@v2
26
+
27
+ - name : Setup PHP
28
+ uses : shivammathur/setup-php@v2
29
+ with :
30
+ php-version : ' ${{ matrix.php }}'
31
+ coverage : none
32
+
33
+ - name : Configure composer
34
+ if : " ${{ matrix.deps == 'highest' }}"
35
+ run : composer config minimum-stability dev
36
+
37
+ - name : Composer install
38
+ uses : ramsey/composer-install@v1
39
+ with :
40
+ dependency-versions : ' ${{ matrix.deps }}'
41
+
42
+ - name : Install PHPUnit
43
+ run : vendor/bin/simple-phpunit install
44
+
45
+ - name : Run tests
46
+ run : vendor/bin/simple-phpunit
47
+ env :
48
+ SYMFONY_DEPRECATIONS_HELPER : ' ${{ matrix.deprecations }}'
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments