Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 15 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
php: [ "8.2", "8.3" ]
postgres: ["14.6"]
postgres: [ "16" ]
Copy link
Member Author

@loic425 loic425 Feb 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just upgrade it... we do not need to maintain several versions, there are no Doctrine requests in this project, just in tests application.

symfony: [ "^6.4", "^7.4" ]
include:
- php: '8.4'
Expand All @@ -26,6 +26,20 @@ jobs:
APP_ENV: test
COMPOSER_ROOT_VERSION: "dev-main"
DATABASE_URL: "pgsql://postgres:postgres@127.0.0.1/sylius_stack?charset=utf8&serverVersion=${{ matrix.postgres }}"
services:
postgres:
image: postgres:${{ matrix.postgres }}
env:
POSTGRES_DB: sylius_stack
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
ports:
- 5432:5432
options: >-
--health-cmd="pg_isready -U postgres"
--health-interval=10s
--health-timeout=5s
--health-retries=5
steps:
- name: "Checkout"
uses: actions/checkout@v3
Expand All @@ -40,12 +54,6 @@ jobs:
- name: Shutdown default MySQL
run: sudo service mysql stop

- name: Setup PostgreSQL
uses: harmon758/postgresql-action@v1
with:
postgresql version: "${{ matrix.postgres }}"
postgresql password: "postgres"

- name: "Restrict packages' versions"
run: composer config extra.symfony.require "${{ matrix.symfony }}"

Expand Down