Skip to content

Commit

Permalink
Merge pull request #112 from W0rma/simplify-ci
Browse files Browse the repository at this point in the history
Simplify CI matrix by leveraging exclude
  • Loading branch information
goetas authored Nov 7, 2024
2 parents 5396b1c + 92667bb commit a797892
Showing 1 changed file with 11 additions and 31 deletions.
42 changes: 11 additions & 31 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,45 +24,25 @@ jobs:
dependencies:
- "highest"
- "lowest"
remove-annotations:
- "yes"
- "no"
symfony-require:
- "^3.0"
- "^4.0"
- "^5.0"
- "^6.0"
include:
- php-version: 8.2
symfony-require: "^5.0"
- "^7.0"
exclude:
# Symfony 3 and 4 would install jms/serializer-bundle:4
# which is not usable without annotations
- symfony-require: "^3.0"
remove-annotations: "yes"
- php-version: 8.2
symfony-require: "^6.0"
- symfony-require: "^4.0"
remove-annotations: "yes"
- php-version: 8.2
# Symfony 7 requires at least PHP 8.2
- php-version: 8.1
symfony-require: "^7.0"
- php-version: 8.2
symfony-require: "^7.0"
remove-annotations: "yes"
- php-version: 8.3
symfony-require: "^5.0"
remove-annotations: "yes"
- php-version: 8.3
symfony-require: "^6.0"
remove-annotations: "yes"
- php-version: 8.3
symfony-require: "^7.0"
- php-version: 8.3
symfony-require: "^7.0"
remove-annotations: "yes"
- php-version: 8.4
symfony-require: "^5.0"
remove-annotations: "yes"
- php-version: 8.4
symfony-require: "^6.0"
remove-annotations: "yes"
- php-version: 8.4
symfony-require: "^7.0"
- php-version: 8.4
symfony-require: "^7.0"
remove-annotations: "yes"

steps:
- name: Checkout code
Expand Down

0 comments on commit a797892

Please sign in to comment.