@@ -2,9 +2,9 @@ name: Master
22# https://github.com/shivammathur/setup-php
33on :
44 push :
5- branches : [ master ]
5+ branches : [ master, 1.x ]
66 pull_request :
7- branches : [ master ]
7+ branches : [ master, 1.x ]
88
99env :
1010 extensions : mbstring # intl, pcov
1414 strategy :
1515 matrix :
1616 operating-system : [ubuntu-18.04]
17- php-versions : ['7.4 ']
17+ php-versions : ['8.0 ']
1818 name : Executable Finder on Local Test (${{ matrix.operating-system }}, PHP ${{ matrix.php-versions }})
1919 steps :
2020 - name : Checkout
3030 coverage : none
3131
3232 - name : Install dependencies
33- run : composer install --prefer-dist --no-progress --no-suggest
33+ run : composer install --prefer-dist --no-progress
3434
3535 - name : Install Parallel-Lint
3636 run : composer global require php-parallel-lint/php-parallel-lint
4343 strategy :
4444 matrix :
4545 operating-system : [ubuntu-18.04]
46- php-versions : ['7.4 ']
46+ php-versions : ['8.0 ']
4747 name : Executable Finder on Phar Test (${{ matrix.operating-system }}, PHP ${{ matrix.php-versions }})
4848 steps :
4949 - name : Checkout
5959 coverage : none
6060
6161 - name : Install dependencies
62- run : composer install --prefer-dist --no-progress --no-suggest --no- dev
62+ run : composer install --prefer-dist --no-progress --no-dev
6363
6464 - name : Install Parallel-Lint
6565 run : composer global require php-parallel-lint/php-parallel-lint
9696 strategy :
9797 matrix :
9898 operating-system : [ubuntu-18.04]
99- php-versions : ['7.4 ']
99+ php-versions : ['8.0 ']
100100 name : Executable Finder on Global Test (${{ matrix.operating-system }}, PHP ${{ matrix.php-versions }})
101101 steps :
102102 - name : Checkout
@@ -112,7 +112,7 @@ jobs:
112112 coverage : none
113113
114114 - name : Install dependencies
115- run : composer install --prefer-dist --no-progress --no-suggest --no- dev
115+ run : composer install --prefer-dist --no-progress --no-dev
116116
117117 - name : Install Parallel-Lint
118118 run : composer global require php-parallel-lint/php-parallel-lint
@@ -126,44 +126,44 @@ jobs:
126126 - name : Testing the Executable Finder
127127 run : phpunit tests/System/ExecutableFinderTest.php
128128
129- all-tests :
130- runs-on : ${{ matrix.operating-system }}
131- strategy :
132- fail-fast : false
133- matrix :
134- operating-system : [ windows-latest, ubuntu-18.04, macos-latest ]
135- php-versions : ['7.1', '7.2', '7.3', '7.4']
136- name : PHP ${{ matrix.php-versions }} Full Tests on ${{ matrix.operating-system }}
137- steps :
138- - name : Checkout
139- uses : actions/checkout@v2
140-
141- - name : Install PHP
142- uses : shivammathur/setup-php@v2
143- with :
144- php-version : ${{ matrix.php-versions }}
145- extensions : ${{ env.extensions }} # optional
146- tools : phpcs, phpcbf, phpmd, phpstan, phpcpd
147- ini-values : " post_max_size=256M" # optional
148- coverage : none
149-
150- - name : Install dependencies
151- run : composer install --prefer-dist --no-progress --no-suggest
152-
153- - name : Install Parallel-Lint
154- run : composer global require php-parallel-lint/php-parallel-lint
155-
156- - name : Install Phpcpd Unix
157- if : ${{ ('7.2' == matrix.php-versions || '7.1' == matrix.php-versions) && ('ubuntu-18.04' == matrix.operating-system || 'macos-latest' == matrix.operating-system)}}
158- run : wget -O phpcpd.phar https://phar.phpunit.de/phpcpd-3.0.1.phar
129+ # all-tests:
130+ # runs-on: ${{ matrix.operating-system }}
131+ # strategy:
132+ # fail-fast: false
133+ # matrix:
134+ # operating-system: [ windows-latest, ubuntu-18.04, macos-latest ]
135+ # php-versions: ['7.1', '7.2', '7.3', '7.4', '8.0 ']
136+ # name: PHP ${{ matrix.php-versions }} Full Tests on ${{ matrix.operating-system }}
137+ # steps:
138+ # - name: Checkout
139+ # uses: actions/checkout@v2
140+
141+ # - name: Install PHP
142+ # uses: shivammathur/setup-php@v2
143+ # with:
144+ # php-version: ${{ matrix.php-versions }}
145+ # extensions: ${{ env.extensions }} #optional
146+ # tools: phpcs, phpcbf, phpmd, phpstan, phpcpd
147+ # ini-values: "post_max_size=256M" #optional
148+ # coverage: none
149+
150+ # - name: Install dependencies
151+ # run: composer install --prefer-dist --no-progress
152+
153+ # - name: Install Parallel-Lint
154+ # run: composer global require php-parallel-lint/php-parallel-lint
155+
156+ # - name: Install Phpcpd Unix
157+ # if: ${{ ('7.2' == matrix.php-versions || '7.1' == matrix.php-versions) && ('ubuntu-18.04' == matrix.operating-system || 'macos-latest' == matrix.operating-system)}}
158+ # run: wget -O phpcpd.phar https://phar.phpunit.de/phpcpd-3.0.1.phar
159159
160- - name : Install Phpcpd Windows
161- if : ${{ ('7.2' == matrix.php-versions || '7.1' == matrix.php-versions) && ('windows-latest' == matrix.operating-system)}}
162- run : curl -o phpcpd.phar https://phar.phpunit.de/phpcpd-3.0.1.phar
163-
164- - name : Testing the Aplication
165- run : |
166- echo "**** Main Test Suite ****"
167- vendor/bin/phpunit
168- echo "**** GitfilesTest ****"
169- vendor/bin/phpunit tests/Integration/GitFilesTest.php
160+ # - name: Install Phpcpd Windows
161+ # if: ${{ ('7.2' == matrix.php-versions || '7.1' == matrix.php-versions) && ('windows-latest' == matrix.operating-system)}}
162+ # run: curl -o phpcpd.phar https://phar.phpunit.de/phpcpd-3.0.1.phar
163+
164+ # - name: Testing the Aplication
165+ # run: |
166+ # echo "**** Main Test Suite ****"
167+ # vendor/bin/phpunit
168+ # echo "**** GitfilesTest ****"
169+ # vendor/bin/phpunit tests/Integration/GitFilesTest.php
0 commit comments