Skip to content

Force 11.5 for scheduled runs on 11.x static analysis #9397

Force 11.5 for scheduled runs on 11.x static analysis

Force 11.5 for scheduled runs on 11.x static analysis #9397

Workflow file for this run

name: "Codeception Tests centralised"
on:
workflow_dispatch:
schedule:
- cron: '0 3 * * *'
pull_request_target:
types: [opened, synchronize, reopened]
branches:
- "12.*"
paths-ignore:
- 'doc/**'
- 'bundles/**/public/**'
push:
branches:
- "12.*"
- "*_actions"
paths-ignore:
- 'doc/**'
- 'bundles/**/public/**'
permissions:
contents: read
jobs:
codeception-tests:
uses: pimcore/workflows-collection-public/.github/workflows/reusable-codeception-public.yaml@main
strategy:
matrix:
include:
- { php-version: 8.3, database: "mariadb:11.2", dependencies: highest, experimental: false, storage: local, symfony: "", composer-options: "" }
- { php-version: 8.3, database: "mysql:8.4.4", dependencies: highest, experimental: false, storage: local, symfony: "", composer-options: "" }
- { php-version: 8.3, database: "mariadb:10.3", dependencies: lowest, experimental: false, storage: local, symfony: "", composer-options: "" }
- { php-version: 8.4, database: "mariadb:10.5", dependencies: highest, experimental: false, storage: local, symfony: "", composer-options: "" }
- { php-version: 8.4, database: "mariadb:10.11", dependencies: highest, experimental: false, storage: local, symfony: "", composer-options: "" }
- { php-version: 8.4, database: "mysql:8.4.4", dependencies: highest, experimental: false, storage: local, symfony: "", composer-options: "" }
with:
php-version: ${{ matrix.php-version }}
database: ${{ matrix.database }}
dependencies: ${{ matrix.dependencies }}
experimental: ${{ matrix.experimental }}
storage: ${{ matrix.storage }}
symfony: ${{ matrix.symfony }}
composer-options: ${{ matrix.composer-options }}
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
PIMCORE_PROJECT_ROOT: ${{ github.workspace }}
APP_ENV: "test"
PIMCORE_TEST: 1
PIMCORE_TEST_DB_DSN: "mysql://root@127.0.0.1:33006/pimcore_test"
PIMCORE_TEST_REDIS_DSN: "redis://127.0.0.1:63379"
MINIO_ACCESS_KEY: "PIMCORE_OBJECT_STORAGE_ACCESS_KEY"
MINIO_SECRET_KEY: "PIMCORE_OBJECT_STORAGE_SECRET_KEY"
BRANCH_NAME: ${{ github.head_ref || github.ref }}
secrets:
PIMCORE_INSTANCE_IDENTIFIER: ${{ secrets.PIMCORE_CI_INSTANCE_IDENTIFIER }}
PIMCORE_ENCRYPTION_SECRET: ${{ secrets.PIMCORE_CI_ENCRYPTION_SECRET }}
PIMCORE_PRODUCT_KEY: ${{ secrets.PIMCORE_CI_PRODUCT_KEY }}