File tree 3 files changed +47
-14
lines changed
3 files changed +47
-14
lines changed Original file line number Diff line number Diff line change
1
+ name : " testing"
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
8
+
9
+ jobs :
10
+ tests :
11
+ name : Tests
12
+ runs-on : ubuntu-latest
13
+
14
+ strategy :
15
+ matrix :
16
+ php :
17
+ - 7.2
18
+ - 7.3
19
+ - 7.4
20
+ composer-args : [ "" ]
21
+ include :
22
+ - php : 8.0
23
+ composer-args : --ignore-platform-reqs
24
+ fail-fast : false
25
+
26
+ steps :
27
+ - name : Checkout
28
+ uses : actions/checkout@v2
29
+
30
+ - name : Install PHP
31
+ uses : shivammathur/setup-php@v2
32
+ with :
33
+ php-version : ${{ matrix.php }}
34
+
35
+ - name : Cache PHP dependencies
36
+ uses : actions/cache@v2
37
+ with :
38
+ path : vendor
39
+ key : ${{ runner.os }}-php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}
40
+ restore-keys : ${{ runner.os }}-php-${{ matrix.php }}-composer-
41
+
42
+ - name : Install dependencies
43
+ run : composer install --prefer-dist --no-progress --no-suggest ${{ matrix.composer-args }}
44
+
45
+ - name : Tests
46
+ run : composer test
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 18
18
"issues" : " https://github.com/php-gettext/PHP-Scanner/issues"
19
19
},
20
20
"require" : {
21
- "php" : " ^ 7.2" ,
21
+ "php" : " >= 7.2" ,
22
22
"nikic/php-parser" : " ^4.2" ,
23
23
"gettext/gettext" : " ^5.5.0"
24
24
},
You can’t perform that action at this time.
0 commit comments