Fix Video Processor when TmpStore is missing #355
Workflow file for this run
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: | |
| push: | |
| branches: | |
| - "[0-9]+.[0-9]+" | |
| - "[0-9]+.x" | |
| - "*_actions" | |
| paths-ignore: | |
| - 'doc/**' | |
| - 'bundles/**/public/**' | |
| pull_request: | |
| types: [ opened, synchronize, reopened ] | |
| paths-ignore: | |
| - 'doc/**' | |
| - 'bundles/**/public/**' | |
| env: | |
| OPENDXP_PROJECT_ROOT: ${{ github.workspace }} | |
| jobs: | |
| setup-matrix: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| php_versions: ${{ steps.parse-php-versions.outputs.php_versions }} | |
| matrix: ${{ steps.set-matrix.outputs.matrix }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Checkout reusable workflow repo | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: open-dxp/workflows-collection-public | |
| ref: main | |
| path: reusable-workflows | |
| - name: Parse PHP versions from composer.json | |
| id: parse-php-versions | |
| run: | | |
| if [ -f composer.json ]; then | |
| php_versions=$(jq -r '.require.php' composer.json | grep -oP '\d+\.\d+' | tr '\n' ',' | sed 's/,$//') | |
| if [ -z "$php_versions" ]; then | |
| echo "No PHP versions found in composer.json, using default" | |
| php_versions="default" | |
| fi | |
| echo "php_versions=$php_versions" >> $GITHUB_OUTPUT | |
| else | |
| echo "composer.json not found" | |
| exit 1 | |
| fi | |
| - name: Set up matrix | |
| id: set-matrix | |
| run: | | |
| php_versions="${{ steps.parse-php-versions.outputs.php_versions }}" | |
| matrix_json=$(jq -c --arg php_versions "$php_versions" \ | |
| '{matrix: [.configs[] | select(.php_version == $php_versions) | .matrix[]]}' \ | |
| reusable-workflows/codeception-tests-configuration/matrix-config.json) | |
| echo "matrix=${matrix_json}" >> $GITHUB_OUTPUT | |
| codeception-tests: | |
| needs: setup-matrix | |
| strategy: | |
| matrix: ${{ fromJson(needs.setup-matrix.outputs.matrix) }} | |
| uses: open-dxp/workflows-collection-public/.github/workflows/reusable-codeception-tests-centralized.yaml@main | |
| with: | |
| app_env: test | |
| opendxp_test: 1 | |
| enable_gotenberg_service: true | |
| enable_redis_service: true | |
| install_ghostscript_and_pdfinfo: true | |
| php_version: ${{ matrix.matrix.php-version }} | |
| database: ${{ matrix.matrix.database }} | |
| server_version: ${{ matrix.matrix.server_version }} | |
| dependencies: ${{ matrix.matrix.dependencies }} | |
| experimental: ${{ matrix.matrix.experimental }} | |
| opendxp_version: ${{ matrix.matrix.opendxp_version }} | |
| opendxp_admin_version: ${{ matrix.matrix.opendxp_admin_version }} | |
| composer_options: ${{ matrix.matrix.composer_options }} | |
| composer_root_version: ${{ matrix.matrix.composer_root_version || '1.99.9' }} | |
| secrets: | |
| CLA_ACTION_ACCESS_TOKEN: ${{ secrets.CLA_ACTION_ACCESS_TOKEN }} | |
| SSH_PRIVATE_KEY_OPENDXP_DEPLOYMENTS_USER: ${{ secrets.SSH_PRIVATE_KEY_OPENDXP_DEPLOYMENTS_USER }} | |
| COMPOSER_OPENDXP_REPO_PACKAGIST_TOKEN: ${{ secrets.COMPOSER_OPENDXP_REPO_PACKAGIST_TOKEN }} |