Bump the symfony group across 1 directory with 36 updates #3095
Workflow file for this run
This file contains 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
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 |