Skip to content

Bump api-platform/core from 3.3.7 to 4.0.6 #3229

Bump api-platform/core from 3.3.7 to 4.0.6

Bump api-platform/core from 3.3.7 to 4.0.6 #3229

Workflow file for this run

name: "Tests 🧪"
on:
pull_request:
push:
branches:
- main
jobs:
test:
runs-on: 'ubuntu-latest'
env:
fail-fast: true
services:
postgres:
image: postgres:16
env:
POSTGRES_PASSWORD: main
POSTGRES_USER: main
POSTGRES_DB: main_test
ports:
- 5432:5432
steps:
- name: "Checkout code"
uses: actions/checkout@v4
- name: "Install PHP with extensions"
uses: shivammathur/setup-php@v2
with:
coverage: "none"
extensions: intl, ctype, iconv, gd
php-version: 8.3
tools: composer
- name: "Composer install"
uses: ramsey/composer-install@v3
- name: "Init database"
run: ./bin/console doctrine:database:create --env=test --if-not-exists
- name: "Execute migrations"
run: ./bin/console doctrine:migration:migrate -n --env=test
- name: "Load fixtures"
run: ./bin/console doctrine:fixtures:load -n --env=test
- name: "Run tests"
run: vendor/bin/phpunit