File tree 3 files changed +39
-51
lines changed
3 files changed +39
-51
lines changed Original file line number Diff line number Diff line change
1
+ name : Continuous Integration
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches :
7
+ - " master"
8
+
9
+ jobs :
10
+ tests :
11
+ name : " Tests"
12
+ runs-on : ubuntu-latest
13
+
14
+ strategy :
15
+ matrix :
16
+ include :
17
+ - php-version : 7.1
18
+ symfony-version : 4.4.*
19
+ - php-version : 7.4
20
+ symfony-version : 4.4.*
21
+ - php-version : 7.2
22
+ symfony-version : 5.1.*
23
+ - php-version : 7.4
24
+ symfony-version : 5.1.*
25
+
26
+ steps :
27
+ - name : " Checkout"
28
+
29
+
30
+ - name : " Install dependencies with composer"
31
+ run : |
32
+ composer require --no-update --dev symfony/symfony:${{ matrix.symfony-version }}
33
+ composer update --no-interaction --no-progress --no-suggest
34
+
35
+ - name : " Run checkstyle with squizlabs/php_codesniffer"
36
+ run : vendor/bin/phpcs
37
+
38
+ - name : " Run tests with phpunit/phpunit"
39
+ run : vendor/bin/phpunit --coverage-text
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments