File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 branches : [ master ]
77jobs :
88 build :
9- runs-on : ubuntu-latest
10- steps :
11-
12- - uses : actions/checkout@v2
9+ runs-on : ${{ matrix.operating-system }}
10+ strategy :
11+ matrix :
12+ operating-system : [ubuntu-latest]
13+ php-versions : ['7.1', '7.4']
14+
15+ name : frictionlessdata/datapackage-php PHP ${{ matrix.php-versions }} test on ${{ matrix.operating-system }}
16+
17+ steps :
18+ - uses : actions/checkout@v2
1319
1420 - name : Cache Composer dependencies
1521 uses : actions/cache@v2
@@ -19,31 +25,31 @@ jobs:
1925
2026 - uses : php-actions/composer@v6
2127 with :
22- php_version : 7.1
28+ php_version : ${{ matrix.php-versions }}
2329 php_extensions : zip
2430 version : 2
2531
26- - name : Validate composer.json & composer.lock
32+ - name : Validate composer.json & composer.lock for PHP ${{ matrix.php-versions }}
2733 uses : php-actions/composer@v6
2834 with :
29- php_version : 7.1
35+ php_version : ${{ matrix.php-versions }}
3036 php_extensions : zip
3137 version : 2
3238 command : validate --strict
3339
34- - name : Run Code Style Check
40+ - name : Run Code Style Check for PHP ${{ matrix.php-versions }}
3541 uses : php-actions/composer@v6
3642 with :
37- php_version : 7.1
43+ php_version : ${{ matrix.php-versions }}
3844 php_extensions : zip
3945 version : 2
4046 dev : yes
4147 command : style-check
4248
43- - name : Run Tests
49+ - name : Run Tests for PHP ${{ matrix.php-versions }}
4450 uses : php-actions/composer@v6
4551 with :
46- php_version : 7.1
52+ php_version : ${{ matrix.php-versions }}
4753 php_extensions : zip
4854 dev : yes
4955 command : test
You can’t perform that action at this time.
0 commit comments