-
-
Notifications
You must be signed in to change notification settings - Fork 17
Extend exclude
with php
and dependencies
settings
#184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
boesing
merged 17 commits into
laminas:1.26.x
from
boesing:feature/exclude-php-and-dependencies
May 5, 2024
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
afa73f6
feature: allow to exclude specific PHP versions and/or dependency sets
boesing d526f25
docs: describe how job exclusion works with the most recent changes
boesing 5a7d64c
bugfix: use `job.tool.name` in case it is available
boesing 226a4ff
qa: add debug logging on why a job might not be excluded
boesing 5c3b655
docs: use `Composer` brand name where possible
boesing cfcdeb8
bugfix: we always have to check for the `job.name`
boesing 9095f96
refactor: reduce the cognitive complexity of `app#isJobExcludedByConf…
boesing 3c482c2
qa: add missing `test.env` files
boesing da9f358
qa: put `php` schema definition into dedicated `definition`
boesing 5ff1be7
qa: add `before_script` section to the matrix output
boesing 2fd95ad
qa: normalize PHP version for schema and also ensure that `stablePHP`…
boesing 319a1b3
qa: target `stablePHP` to `installablePhpVersion` definition
boesing 40699f0
bugfix: use `allOf` to merge `installablePhpVersion` enum values with…
boesing 9f5c287
bugfix: use `anyOf` of `php` as just one of the `enum` values have to…
boesing 7f557d2
bugfix: use `anyOf` to reference enum from `installablePhpVersion` an…
boesing 4737d09
qa: use `@default` for `no-checks`
boesing 64b9e8b
qa: remove `locked` dependency from expected matrix
boesing File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
tests/configuration-exclude-php-dependency-combination/.laminas-ci.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"exclude": [ | ||
{ | ||
"name": "PHPUnit", | ||
"php": "8.1", | ||
"dependencies": "latest" | ||
} | ||
] | ||
} |
5 changes: 5 additions & 0 deletions
5
tests/configuration-exclude-php-dependency-combination/composer.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"require": { | ||
"php": "~8.0.0 || ~8.1.0 || ~8.2.0" | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
tests/configuration-exclude-php-dependency-combination/matrix.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"include": [ | ||
{ | ||
"name": "PHPUnit [8.0, lowest]", | ||
"job": "{\"command\":\"./vendor/bin/phpunit\",\"php\":\"8.0\",\"extensions\":[],\"ini\":[],\"dependencies\":\"lowest\",\"ignore_platform_reqs_8\":false,\"ignore_php_platform_requirement\":false,\"additional_composer_arguments\":[],\"before_script\":[\"xmllint --schema vendor/phpunit/phpunit/phpunit.xsd phpunit.xml.dist\"]}", | ||
"operatingSystem": "ubuntu-latest", | ||
"action": "laminas/laminas-continuous-integration-action@v1" | ||
}, | ||
{ | ||
"name": "PHPUnit [8.0, latest]", | ||
"job": "{\"command\":\"./vendor/bin/phpunit\",\"php\":\"8.0\",\"extensions\":[],\"ini\":[],\"dependencies\":\"latest\",\"ignore_platform_reqs_8\":false,\"ignore_php_platform_requirement\":false,\"additional_composer_arguments\":[],\"before_script\":[\"xmllint --schema vendor/phpunit/phpunit/phpunit.xsd phpunit.xml.dist\"]}", | ||
"operatingSystem": "ubuntu-latest", | ||
"action": "laminas/laminas-continuous-integration-action@v1" | ||
}, | ||
{ | ||
"name": "PHPUnit [8.1, lowest]", | ||
"job": "{\"command\":\"./vendor/bin/phpunit\",\"php\":\"8.1\",\"extensions\":[],\"ini\":[],\"dependencies\":\"lowest\",\"ignore_platform_reqs_8\":false,\"ignore_php_platform_requirement\":false,\"additional_composer_arguments\":[],\"before_script\":[\"xmllint --schema vendor/phpunit/phpunit/phpunit.xsd phpunit.xml.dist\"]}", | ||
"operatingSystem": "ubuntu-latest", | ||
"action": "laminas/laminas-continuous-integration-action@v1" | ||
}, | ||
{ | ||
"name": "PHPUnit [8.2, lowest]", | ||
"job": "{\"command\":\"./vendor/bin/phpunit\",\"php\":\"8.2\",\"extensions\":[],\"ini\":[],\"dependencies\":\"lowest\",\"ignore_platform_reqs_8\":false,\"ignore_php_platform_requirement\":false,\"additional_composer_arguments\":[],\"before_script\":[\"xmllint --schema vendor/phpunit/phpunit/phpunit.xsd phpunit.xml.dist\"]}", | ||
"operatingSystem": "ubuntu-latest", | ||
"action": "laminas/laminas-continuous-integration-action@v1" | ||
}, | ||
{ | ||
"name": "PHPUnit [8.2, latest]", | ||
"job": "{\"command\":\"./vendor/bin/phpunit\",\"php\":\"8.2\",\"extensions\":[],\"ini\":[],\"dependencies\":\"latest\",\"ignore_platform_reqs_8\":false,\"ignore_php_platform_requirement\":false,\"additional_composer_arguments\":[],\"before_script\":[\"xmllint --schema vendor/phpunit/phpunit/phpunit.xsd phpunit.xml.dist\"]}", | ||
"operatingSystem": "ubuntu-latest", | ||
"action": "laminas/laminas-continuous-integration-action@v1" | ||
} | ||
] | ||
} |
2 changes: 2 additions & 0 deletions
2
tests/configuration-exclude-php-dependency-combination/phpunit.xml.dist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<dummy/> |
Empty file.
8 changes: 8 additions & 0 deletions
8
tests/configuration-exclude-php-specific-version/.laminas-ci.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"exclude": [ | ||
{ | ||
"name": "PHPUnit", | ||
"php": "8.1" | ||
} | ||
] | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.