@@ -13,7 +13,7 @@ permissions:
1313jobs :
1414phpcs :
1515name :Code style
16- runs-on :' ubuntu-latest'
16+ runs-on :ubuntu-latest
1717steps :
1818 -name :Checkout
1919uses :actions/checkout@v3
4646fail-fast :false
4747matrix :
4848os :[ubuntu-latest]
49- php :['8.1', '8. 2', '8.3', '8.4']
49+ php :['8.2', '8.3', '8.4']
5050mode :['stable', 'experimental']
5151exclude :
5252 -php :' 8.2'
@@ -90,15 +90,15 @@ jobs:
9090if :matrix.mode == 'stable'
9191run :composer update --no-interaction --no-progress --optimize-autoloader --ansi
9292
93- -name :Composer install lowest versions of dependencies on PHP 8.1 in experimental mode
94- if :matrix.php == '8.1 ' && matrix.mode == 'experimental'
93+ -name :Composer install lowest versions of dependencies on PHP 8.2 in experimental mode
94+ if :matrix.php == '8.2 ' && matrix.mode == 'experimental'
9595run :composer update --prefer-lowest --no-interaction --no-progress --optimize-autoloader --ansi
9696
9797 -name :Test that failing test really fails
9898run :if php codecept run -c tests/data/claypit/ scenario FailedCept -vvv; then echo "Test hasn't failed"; false; fi;
9999
100- # - name: Run tests without code coverage on PHP 8.1
101- # if: matrix.php == '8.1 '
100+ # - name: Run tests without code coverage on PHP 8.2
101+ # if: matrix.php == '8.2 '
102102# run: |
103103# php -S 127.0.0.1:8008 -t tests/data/app >/dev/null 2>&1 &
104104# php codecept build
@@ -140,7 +140,7 @@ jobs:
140140fail-fast :false
141141matrix :
142142os :[windows-latest]
143- php :['8.1', '8. 2', '8.3', '8.4']
143+ php :['8.2', '8.3', '8.4']
144144
145145steps :
146146 -name :Checkout
@@ -155,7 +155,7 @@ jobs:
155155tools :composer:v2
156156
157157 -name :Determine composer cache directory
158- run :echo "COMPOSER_CACHE_DIR=~\AppData\Local\Composer" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
158+ run :echo "COMPOSER_CACHE_DIR=~\\ AppData\\ Local\ \Composer" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
159159
160160 -name :Cache dependencies installed with composer
161161uses :actions/cache@v3
@@ -171,12 +171,11 @@ jobs:
171171 -name :Validate composer.json
172172run :composer validate
173173
174- -name :Composer install
174+ -name :Install dependencies
175175run :composer install --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
176176
177- -name :Run tests cli
178- if :matrix.php != '8.2'
177+ -name :Run CLI tests
179178run :php codecept run cli --skip-group coverage
180179
181- -name :Runtests unit
180+ -name :Run unit tests
182181run :php codecept run unit -g core -g appveyor