Skip to content

Commit

Permalink
Build with Doctrine ORM 3 and DBAL 4 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Feb 9, 2024
1 parent 30cf38d commit 407cee3
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@ jobs:
dependencies:
- "lowest"
- "highest"
update-packages:
- ""
include:
- php-version: "8.3"
dependencies: "highest"
update-packages: "composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctrine-types:^3 -W"

steps:
- name: "Checkout"
Expand Down Expand Up @@ -135,6 +141,9 @@ jobs:
if: ${{ matrix.dependencies == 'highest' }}
run: "composer update --no-interaction --no-progress"

- name: "Update packages"
run: ${{ matrix.update-packages }}

- name: "Tests"
run: "make tests"

Expand All @@ -152,6 +161,11 @@ jobs:
- "8.1"
- "8.2"
- "8.3"
update-packages:
- ""
include:
- php-version: "8.3"
update-packages: "composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctrine-types:^3 -W"

steps:
- name: "Checkout"
Expand All @@ -172,5 +186,8 @@ jobs:
- name: "Install dependencies"
run: "composer update --no-interaction --no-progress"

- name: "Update packages"
run: ${{ matrix.update-packages }}

- name: "PHPStan"
run: "make phpstan"

0 comments on commit 407cee3

Please sign in to comment.