Skip to content

Commit 698b5c0

Browse files
authored
Merge pull request #68 from greg0ire/cpc
Check PHP configuration
2 parents 0b40ed3 + 76b9a74 commit 698b5c0

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/continuous-integration-symfony-unstable.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,14 @@ jobs:
7474
dependency-versions: "highest"
7575
composer-options: "${{ inputs.composer-options }}"
7676

77+
- name: "Check PHP configuration"
78+
run: >
79+
if vendor/bin/phpunit --atleast-version 12.3.1 > /dev/null ||
80+
vendor/bin/phpunit --atleast-version 11.5.29 > /dev/null ||
81+
vendor/bin/phpunit --atleast-version 10.5.49 > /dev/null; then
82+
vendor/bin/phpunit --check-php-configuration;
83+
fi
84+
7785
- name: "Run PHPUnit"
7886
run: "vendor/bin/phpunit --coverage-clover=phpunit-${{ inputs.php-version }}-unstable.coverage"
7987

.github/workflows/continuous-integration.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,14 @@ jobs:
7171
dependency-versions: "${{ matrix.dependencies }}"
7272
composer-options: "${{ inputs.composer-options }}"
7373

74+
- name: "Check PHP configuration"
75+
run: >
76+
if vendor/bin/phpunit --atleast-version 12.3.1 > /dev/null ||
77+
vendor/bin/phpunit --atleast-version 11.5.29 > /dev/null ||
78+
vendor/bin/phpunit --atleast-version 10.5.49 > /dev/null; then
79+
vendor/bin/phpunit --check-php-configuration;
80+
fi
81+
7482
- name: "Run PHPUnit"
7583
run: "vendor/bin/phpunit --coverage-clover=coverage.xml"
7684

0 commit comments

Comments
 (0)