Merge pull request #18906 from pimcore/stan_11x #9398
This file contains hidden or 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: "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://[email protected]: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 }} |