Skip to content

Bump symfony/security-http from 7.1.5 to 7.1.8 #570

Bump symfony/security-http from 7.1.5 to 7.1.8

Bump symfony/security-http from 7.1.5 to 7.1.8 #570

Workflow file for this run

name: Testing with MariaDB
on: [push, pull_request]
jobs:
symfony:
name: Symfony (PHP ${{ matrix.php-versions }})
runs-on: ubuntu-latest
services:
mariadb:
image: mariadb:11.1.5
ports:
- 3306
env:
MYSQL_USER: mariadb
MYSQL_PASSWORD: mariadb
MYSQL_DATABASE: mariadb
MYSQL_ROOT_PASSWORD: mariadb
options: --health-cmd="healthcheck.sh --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3
strategy:
fail-fast: false
matrix:
php-versions: ['8.3']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Verify MariaDB connection
env:
PORT: ${{ job.services.mariadb.ports[3306] }}
run: |
while ! mysqladmin ping -h"127.0.0.1" -P"$PORT" --silent; do
sleep 1
done
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, xml, ctype, gd, iconv, intl, pdo_sqlite
coverage: xdebug #optional
- name: Get composer cache directory
id: composercache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Cache composer dependencies
uses: actions/cache@v4
with:
path: ${{ steps.composercache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-
- name: Install Composer dependencies
run: |
composer update symfony/flex --no-plugins --no-scripts
composer install --no-progress --prefer-dist --optimize-autoloader
- name: Run Migration
run: |
php bin/console app:install
env:
DATABASE_URL: mysql://mariadb:[email protected]:${{ job.services.mariadb.ports[3306] }}/mariadb?serverVersion=mariadb-11.1.5
- name: Run Tests
env:
PANTHER_NO_SANDBOX: "1"
DATABASE_URL: mysql://mariadb:[email protected]:${{ job.services.mariadb.ports[3306] }}/mariadb?serverVersion=mariadb-11.1.5
run: php bin/phpunit --testsuite=main