Skip to content

Commit

Permalink
CI: update used PHP version
Browse files Browse the repository at this point in the history
  • Loading branch information
keradus authored and SpacePossum committed Dec 13, 2021
1 parent 56d8399 commit aeb086f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Expand Up @@ -25,18 +25,13 @@ jobs:
job-description: 'with Sf ^5'
execute-flex-with-symfony-version: '^5' # Explicit check for Sf 5.x compatibility

- operating-system: 'ubuntu-20.04'
php-version: '8.0'
job-description: 'with Sf ^6'
execute-flex-with-symfony-version: '^6' # Explicit check for Sf 6.x compatibility

- operating-system: 'ubuntu-20.04'
php-version: '7.4'
job-description: 'with deployment'
execute-deployment: 'yes'

- operating-system: 'ubuntu-20.04'
php-version: '8.0'
job-description: 'with Sf ^6'
execute-flex-with-symfony-version: '^6' # Explicit check for Sf 6.x compatibility

- operating-system: 'ubuntu-20.04'
php-version: '8.1'
Expand All @@ -49,13 +44,18 @@ jobs:
calculate-code-coverage: 'yes'
phpunit-flags: '--testsuite coverage --exclude-group covers-nothing --coverage-clover build/logs/clover.xml'

- operating-system: 'ubuntu-20.04'
php-version: '8.1'
job-description: 'with deployment'
execute-deployment: 'yes'

- operating-system: 'windows-latest'
php-version: '7.4'
php-version: '8.1'
job-description: 'on Windows'
FAST_LINT_TEST_CASES: 1

- operating-system: 'macos-latest'
php-version: '7.4'
php-version: '8.1'
job-description: 'on macOS'

name: PHP ${{ matrix.php-version }} ${{ matrix.job-description }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sca.yml
Expand Up @@ -12,7 +12,7 @@ jobs:
operating-system:
- ubuntu-20.04
php-version:
- 8.0
- 8.1

name: Static Code Analysis

Expand Down
2 changes: 1 addition & 1 deletion tests/AutoReview/CiConfigurationTest.php
Expand Up @@ -63,7 +63,7 @@ public function testDeploymentJobsRunOnLatestStablePhpThatIsSupportedByTool(): v
{
$ciVersionsForDeployments = $this->getAllPhpVersionsUsedByCiForDeployments();
$ciVersions = $this->getAllPhpVersionsUsedByCiForTests();
$expectedPhp = '7.4'; // can't run dev-tools on 8.0 yet; $this->getMaxPhpVersionFromEntryFile();
$expectedPhp = $this->getMaxPhpVersionFromEntryFile();

if (\in_array($expectedPhp.'snapshot', $ciVersions, true)) {
// last version of used PHP is snapshot. we should test against previous one, that is stable
Expand Down

0 comments on commit aeb086f

Please sign in to comment.