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