chore(deps): update dependency jetbrains/phpstorm-stubs to v2026.2 #3552
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: build | |
| on: | |
| push: | |
| branches: | |
| - '[0-9]+.[0-9]+.x' | |
| paths-ignore: | |
| - '**.md' | |
| - 'docs/**' | |
| - 'LICENSE' | |
| pull_request: | |
| branches: | |
| - '*' | |
| paths-ignore: | |
| - '**.md' | |
| - 'docs/**' | |
| - 'LICENSE' | |
| jobs: | |
| phpunit-unit: | |
| name: phpunit (unit, PHP ${{ matrix.php-version }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php-version: ['8.4', '8.5'] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup PHP Action | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php-version }} | |
| extensions: ffi, dom, mbstring | |
| coverage: pcov | |
| - name: Get Composer Cache Directory | |
| id: composer-cache | |
| run: echo "::set-output name=dir::$(composer config cache-files-dir)" | |
| - name: Cache dependencies | |
| uses: actions/cache@v5 | |
| with: | |
| path: ${{ steps.composer-cache.outputs.dir }} | |
| key: ${{ runner.os }}-composer-${{ matrix.php-version }}-${{ hashFiles('**/composer.json') }} | |
| restore-keys: ${{ runner.os }}-composer-${{ matrix.php-version }}- | |
| - name: Validate composer.json and composer.lock | |
| run: composer validate | |
| - name: Install dependencies | |
| run: composer install --prefer-dist --no-progress --no-suggest | |
| - name: Setup problem matchers for PHP | |
| run: echo "::add-matcher::${{ runner.tool_cache }}/php.json" | |
| - name: Setup Problem Matchers for PHPUnit | |
| run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" | |
| - name: Run unit tests | |
| run: | | |
| mkdir -p build/logs | |
| vendor/bin/phpunit \ | |
| --exclude-group target-version \ | |
| --exclude-group frankenphp \ | |
| --exclude-group mod_php \ | |
| --coverage-clover build/logs/clover.xml | |
| - name: Send to coveralls | |
| uses: coverallsapp/github-action@v2 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| file: build/logs/clover.xml | |
| flag-name: unit-php${{ matrix.php-version }} | |
| parallel: true | |
| build-dev-image: | |
| name: Build dev image | |
| runs-on: ubuntu-latest | |
| permissions: | |
| packages: write | |
| env: | |
| IMAGE: ghcr.io/${{ github.repository }}/dev | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Compute Dockerfile hash | |
| id: hash | |
| run: echo "tag=sha-$(sha256sum Dockerfile-dev | cut -c1-16)" >> "$GITHUB_OUTPUT" | |
| - name: Log in to GHCR | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Check if image already exists | |
| id: check | |
| run: | | |
| if docker manifest inspect "${{ env.IMAGE }}:${{ steps.hash.outputs.tag }}" > /dev/null 2>&1; then | |
| echo "exists=true" >> "$GITHUB_OUTPUT" | |
| else | |
| echo "exists=false" >> "$GITHUB_OUTPUT" | |
| fi | |
| - name: Set up Docker Buildx | |
| if: steps.check.outputs.exists == 'false' | |
| uses: docker/setup-buildx-action@v4 | |
| - name: Build and push dev image | |
| if: steps.check.outputs.exists == 'false' | |
| uses: docker/build-push-action@v7 | |
| with: | |
| context: . | |
| file: Dockerfile-dev | |
| push: true | |
| tags: | | |
| ${{ env.IMAGE }}:${{ steps.hash.outputs.tag }} | |
| ${{ env.IMAGE }}:latest | |
| cache-from: type=gha | |
| cache-to: type=gha,mode=max | |
| outputs: | |
| image: ${{ env.IMAGE }}:${{ steps.hash.outputs.tag }} | |
| build-test-mysql-images: | |
| name: Build PHP ${{ matrix.php_version }}+pdo_mysql | |
| runs-on: ubuntu-latest | |
| permissions: | |
| packages: write | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php_version: ["7.0", "7.1", "7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3", "8.4", "8.5"] | |
| env: | |
| IMAGE: ghcr.io/${{ github.repository }}/test-php-mysql | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Compute Dockerfile hash | |
| id: hash | |
| run: echo "tag=php${{ matrix.php_version }}-sha-$(sha256sum Dockerfile-test-php-mysql | cut -c1-16)" >> "$GITHUB_OUTPUT" | |
| - name: Log in to GHCR | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Check if image already exists | |
| id: check | |
| run: | | |
| if docker manifest inspect "${{ env.IMAGE }}:${{ steps.hash.outputs.tag }}" > /dev/null 2>&1; then | |
| echo "exists=true" >> "$GITHUB_OUTPUT" | |
| else | |
| echo "exists=false" >> "$GITHUB_OUTPUT" | |
| fi | |
| - name: Set up Docker Buildx | |
| if: steps.check.outputs.exists == 'false' | |
| uses: docker/setup-buildx-action@v4 | |
| - name: Build and push | |
| if: steps.check.outputs.exists == 'false' | |
| uses: docker/build-push-action@v7 | |
| with: | |
| context: . | |
| file: Dockerfile-test-php-mysql | |
| push: true | |
| build-args: PHP_VERSION=${{ matrix.php_version }} | |
| tags: | | |
| ${{ env.IMAGE }}:${{ steps.hash.outputs.tag }} | |
| ${{ env.IMAGE }}:php${{ matrix.php_version }} | |
| cache-from: type=gha,scope=test-php-mysql-${{ matrix.php_version }} | |
| cache-to: type=gha,mode=max,scope=test-php-mysql-${{ matrix.php_version }} | |
| phpunit-target-version: | |
| name: phpunit (${{ matrix.name }}) | |
| needs: [build-dev-image, build-test-mysql-images] | |
| runs-on: ubuntu-latest | |
| permissions: | |
| packages: read | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - name: "PHP 7.0" | |
| targets: "v70" | |
| php_minor: "7.0" | |
| - name: "PHP 7.1" | |
| targets: "v71" | |
| php_minor: "7.1" | |
| - name: "PHP 7.2" | |
| targets: "v72" | |
| php_minor: "7.2" | |
| - name: "PHP 7.3" | |
| targets: "v73" | |
| php_minor: "7.3" | |
| - name: "PHP 7.4" | |
| targets: "v74" | |
| php_minor: "7.4" | |
| - name: "PHP 8.0" | |
| targets: "v80" | |
| php_minor: "8.0" | |
| - name: "PHP 8.1" | |
| targets: "v81" | |
| php_minor: "8.1" | |
| - name: "PHP 8.2" | |
| targets: "v82" | |
| php_minor: "8.2" | |
| - name: "PHP 8.3" | |
| targets: "v83" | |
| php_minor: "8.3" | |
| - name: "PHP 8.4" | |
| targets: "v84" | |
| php_minor: "8.4" | |
| - name: "PHP 8.5" | |
| targets: "v85" | |
| php_minor: "8.5" | |
| - name: "PHP 7.3 ZTS" | |
| targets: "v73_zts" | |
| php_minor: "7.3" | |
| - name: "PHP 7.4 ZTS" | |
| targets: "v74_zts" | |
| php_minor: "7.4" | |
| - name: "PHP 8.0 ZTS" | |
| targets: "v80_zts" | |
| php_minor: "8.0" | |
| - name: "PHP 8.1 ZTS" | |
| targets: "v81_zts" | |
| php_minor: "8.1" | |
| - name: "PHP 8.2 ZTS" | |
| targets: "v82_zts" | |
| php_minor: "8.2" | |
| - name: "PHP 8.3 ZTS" | |
| targets: "v83_zts" | |
| php_minor: "8.3" | |
| - name: "PHP 8.4 ZTS" | |
| targets: "v84_zts" | |
| php_minor: "8.4" | |
| - name: "PHP 8.5 ZTS" | |
| targets: "v85_zts" | |
| php_minor: "8.5" | |
| - name: "PHP 8.4 Alpine" | |
| targets: "v84_alpine" | |
| php_minor: "8.4" | |
| - name: "PHP 8.4 Alpine ZTS" | |
| targets: "v84_alpine_zts" | |
| php_minor: "8.4" | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Log in to GHCR | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Pull dev image | |
| run: | | |
| docker pull ${{ needs.build-dev-image.outputs.image }} | |
| docker tag ${{ needs.build-dev-image.outputs.image }} reli-dev | |
| - name: Pull PHP+pdo_mysql test image | |
| env: | |
| IMAGE: ghcr.io/${{ github.repository }}/test-php-mysql | |
| run: | | |
| docker pull "$IMAGE:php${{ matrix.php_minor }}" || true | |
| docker tag "$IMAGE:php${{ matrix.php_minor }}" "reli-test-php-mysql:${{ matrix.php_minor }}" 2>/dev/null || true | |
| - name: Restore target Docker image cache | |
| id: target-cache | |
| uses: actions/cache@v5 | |
| with: | |
| path: /tmp/target-image.tar.gz | |
| key: docker-target-${{ matrix.targets }} | |
| - name: Load cached target Docker image | |
| if: steps.target-cache.outputs.cache-hit == 'true' | |
| run: docker load < /tmp/target-image.tar.gz | |
| - name: Install dependencies | |
| run: docker run --rm -v ${{ github.workspace }}:/app -w /app reli-dev composer install --prefer-dist --no-progress --no-suggest | |
| - name: Pull MySQL image for pdo_mysql tests | |
| run: docker pull mysql:8.0 | |
| - name: Enable core dumps | |
| run: | | |
| sudo mkdir -p /tmp/reli-test | |
| sudo chmod 1777 /tmp/reli-test | |
| sudo sysctl -w kernel.core_pattern='/tmp/reli-test/core.%e.%p.%t' | |
| # Disable apport so it doesn't swallow cores. | |
| sudo systemctl stop apport.service 2>/dev/null || true | |
| - name: Run target version tests | |
| env: | |
| RELI_TEST_PHP_TARGETS: ${{ matrix.targets }} | |
| run: | | |
| mkdir -p build/logs | |
| docker compose run reli-test-for-ci vendor/bin/phpunit --group target-version --coverage-clover build/logs/clover.xml | |
| - name: Upload test trace log on failure | |
| if: failure() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: reli-test-trace-${{ matrix.targets }} | |
| path: /tmp/reli-test/reli-test-trace.log | |
| if-no-files-found: ignore | |
| - name: Collect crash diagnostics on failure | |
| if: failure() | |
| run: | | |
| mkdir -p /tmp/reli-crash | |
| sudo cp /tmp/reli-test/core.* /tmp/reli-crash/ 2>/dev/null || true | |
| sudo chmod -R a+r /tmp/reli-crash || true | |
| sudo dmesg -T > /tmp/reli-crash/dmesg.log 2>/dev/null || true | |
| ls -la /tmp/reli-crash/ || true | |
| - name: Upload crash diagnostics on failure | |
| if: failure() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: reli-crash-${{ matrix.targets }} | |
| path: /tmp/reli-crash/ | |
| if-no-files-found: ignore | |
| - name: Fix coverage paths from Docker container | |
| run: sed -i 's|/app/|${{ github.workspace }}/|g' build/logs/clover.xml | |
| - name: Send to coveralls | |
| uses: coverallsapp/github-action@v2 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| file: build/logs/clover.xml | |
| flag-name: ${{ matrix.targets }} | |
| parallel: true | |
| - name: Save target Docker image for cache | |
| if: steps.target-cache.outputs.cache-hit != 'true' | |
| run: | | |
| TARGET_IMAGE=$(docker images --format '{{.Repository}}:{{.Tag}}' | grep '^php:' | head -1) | |
| if [ -n "$TARGET_IMAGE" ]; then | |
| docker save "$TARGET_IMAGE" | gzip > /tmp/target-image.tar.gz | |
| fi | |
| phpunit-frankenphp: | |
| name: phpunit (FrankenPHP) | |
| needs: build-dev-image | |
| runs-on: ubuntu-latest | |
| permissions: | |
| packages: read | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Log in to GHCR | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Pull dev image | |
| run: | | |
| docker pull ${{ needs.build-dev-image.outputs.image }} | |
| docker tag ${{ needs.build-dev-image.outputs.image }} reli-dev | |
| - name: Pull FrankenPHP image | |
| run: docker pull dunglas/frankenphp:php8.4 | |
| - name: Install dependencies | |
| run: docker run --rm -v ${{ github.workspace }}:/app -w /app reli-dev composer install --prefer-dist --no-progress --no-suggest | |
| - name: Run FrankenPHP tests | |
| run: | | |
| mkdir -p /tmp/reli-test | |
| docker compose run reli-test-for-ci vendor/bin/phpunit --group frankenphp --no-coverage | |
| build-dev-image-arm64: | |
| name: Build dev image (ARM64) | |
| runs-on: ubuntu-24.04-arm | |
| permissions: | |
| packages: write | |
| env: | |
| IMAGE: ghcr.io/${{ github.repository }}/dev | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Compute Dockerfile hash | |
| id: hash | |
| run: echo "tag=sha-$(sha256sum Dockerfile-dev | cut -c1-16)-arm64" >> "$GITHUB_OUTPUT" | |
| - name: Log in to GHCR | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Check if image already exists | |
| id: check | |
| run: | | |
| if docker manifest inspect "${{ env.IMAGE }}:${{ steps.hash.outputs.tag }}" > /dev/null 2>&1; then | |
| echo "exists=true" >> "$GITHUB_OUTPUT" | |
| else | |
| echo "exists=false" >> "$GITHUB_OUTPUT" | |
| fi | |
| - name: Set up Docker Buildx | |
| if: steps.check.outputs.exists == 'false' | |
| uses: docker/setup-buildx-action@v4 | |
| - name: Build and push dev image | |
| if: steps.check.outputs.exists == 'false' | |
| uses: docker/build-push-action@v7 | |
| with: | |
| context: . | |
| file: Dockerfile-dev | |
| push: true | |
| tags: | | |
| ${{ env.IMAGE }}:${{ steps.hash.outputs.tag }} | |
| ${{ env.IMAGE }}:latest-arm64 | |
| cache-from: type=gha,scope=arm64 | |
| cache-to: type=gha,mode=max,scope=arm64 | |
| outputs: | |
| image: ${{ env.IMAGE }}:${{ steps.hash.outputs.tag }} | |
| phpunit-unit-arm64: | |
| name: phpunit (unit, PHP ${{ matrix.php-version }}, ARM64) | |
| runs-on: ubuntu-24.04-arm | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php-version: ['8.4', '8.5'] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup PHP Action | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php-version }} | |
| extensions: ffi, dom, mbstring | |
| coverage: pcov | |
| - name: Get Composer Cache Directory | |
| id: composer-cache | |
| run: echo "::set-output name=dir::$(composer config cache-files-dir)" | |
| - name: Cache dependencies | |
| uses: actions/cache@v5 | |
| with: | |
| path: ${{ steps.composer-cache.outputs.dir }} | |
| key: ${{ runner.os }}-${{ runner.arch }}-composer-${{ matrix.php-version }}-${{ hashFiles('**/composer.json') }} | |
| restore-keys: ${{ runner.os }}-${{ runner.arch }}-composer-${{ matrix.php-version }}- | |
| - name: Install dependencies | |
| run: composer install --prefer-dist --no-progress --no-suggest | |
| - name: Run unit tests | |
| run: | | |
| mkdir -p build/logs | |
| vendor/bin/phpunit \ | |
| --exclude-group target-version \ | |
| --exclude-group frankenphp \ | |
| --exclude-group mod_php \ | |
| --coverage-clover build/logs/clover.xml | |
| - name: Send to coveralls | |
| uses: coverallsapp/github-action@v2 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| file: build/logs/clover.xml | |
| flag-name: unit-arm64-php${{ matrix.php-version }} | |
| parallel: true | |
| build-test-mysql-images-arm64: | |
| name: Build PHP ${{ matrix.php_version }}+pdo_mysql (ARM64) | |
| runs-on: ubuntu-24.04-arm | |
| permissions: | |
| packages: write | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php_version: ["7.4", "8.2", "8.4"] | |
| env: | |
| IMAGE: ghcr.io/${{ github.repository }}/test-php-mysql | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Compute Dockerfile hash | |
| id: hash | |
| run: echo "tag=php${{ matrix.php_version }}-sha-$(sha256sum Dockerfile-test-php-mysql | cut -c1-16)-arm64" >> "$GITHUB_OUTPUT" | |
| - name: Log in to GHCR | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Check if image already exists | |
| id: check | |
| run: | | |
| if docker manifest inspect "${{ env.IMAGE }}:${{ steps.hash.outputs.tag }}" > /dev/null 2>&1; then | |
| echo "exists=true" >> "$GITHUB_OUTPUT" | |
| else | |
| echo "exists=false" >> "$GITHUB_OUTPUT" | |
| fi | |
| - name: Set up Docker Buildx | |
| if: steps.check.outputs.exists == 'false' | |
| uses: docker/setup-buildx-action@v4 | |
| - name: Build and push | |
| if: steps.check.outputs.exists == 'false' | |
| uses: docker/build-push-action@v7 | |
| with: | |
| context: . | |
| file: Dockerfile-test-php-mysql | |
| push: true | |
| build-args: PHP_VERSION=${{ matrix.php_version }} | |
| tags: | | |
| ${{ env.IMAGE }}:${{ steps.hash.outputs.tag }} | |
| ${{ env.IMAGE }}:php${{ matrix.php_version }}-arm64 | |
| cache-from: type=gha,scope=test-php-mysql-${{ matrix.php_version }}-arm64 | |
| cache-to: type=gha,mode=max,scope=test-php-mysql-${{ matrix.php_version }}-arm64 | |
| phpunit-target-version-arm64: | |
| name: phpunit (${{ matrix.name }}, ARM64) | |
| needs: [build-dev-image-arm64, build-test-mysql-images-arm64] | |
| runs-on: ubuntu-24.04-arm | |
| permissions: | |
| packages: read | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - name: "PHP 7.4" | |
| targets: "v74" | |
| php_minor: "7.4" | |
| - name: "PHP 8.2" | |
| targets: "v82" | |
| php_minor: "8.2" | |
| - name: "PHP 8.4" | |
| targets: "v84" | |
| php_minor: "8.4" | |
| - name: "PHP 8.4 ZTS" | |
| targets: "v84_zts" | |
| php_minor: "8.4" | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Log in to GHCR | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Pull dev image | |
| run: | | |
| docker pull ${{ needs.build-dev-image-arm64.outputs.image }} | |
| docker tag ${{ needs.build-dev-image-arm64.outputs.image }} reli-dev | |
| - name: Pull PHP+pdo_mysql test image | |
| env: | |
| IMAGE: ghcr.io/${{ github.repository }}/test-php-mysql | |
| run: | | |
| docker pull "$IMAGE:php${{ matrix.php_minor }}-arm64" || true | |
| docker tag "$IMAGE:php${{ matrix.php_minor }}-arm64" "reli-test-php-mysql:${{ matrix.php_minor }}" 2>/dev/null || true | |
| - name: Restore target Docker image cache | |
| id: target-cache | |
| uses: actions/cache@v5 | |
| with: | |
| path: /tmp/target-image.tar.gz | |
| key: docker-target-arm64-${{ matrix.targets }} | |
| - name: Load cached target Docker image | |
| if: steps.target-cache.outputs.cache-hit == 'true' | |
| run: docker load < /tmp/target-image.tar.gz | |
| - name: Install dependencies | |
| run: docker run --rm -v ${{ github.workspace }}:/app -w /app reli-dev composer install --prefer-dist --no-progress --no-suggest | |
| - name: Pull MySQL image for pdo_mysql tests | |
| run: docker pull mysql:8.0 | |
| - name: Enable core dumps | |
| run: | | |
| sudo mkdir -p /tmp/reli-test | |
| sudo chmod 1777 /tmp/reli-test | |
| sudo sysctl -w kernel.core_pattern='/tmp/reli-test/core.%e.%p.%t' | |
| sudo systemctl stop apport.service 2>/dev/null || true | |
| - name: Run target version tests | |
| env: | |
| RELI_TEST_PHP_TARGETS: ${{ matrix.targets }} | |
| run: | | |
| mkdir -p build/logs | |
| docker compose run reli-test-for-ci vendor/bin/phpunit --group target-version --coverage-clover build/logs/clover.xml | |
| - name: Upload test trace log on failure | |
| if: failure() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: reli-test-trace-${{ matrix.targets }}-arm64 | |
| path: /tmp/reli-test/reli-test-trace.log | |
| if-no-files-found: ignore | |
| - name: Collect crash diagnostics on failure | |
| if: failure() | |
| run: | | |
| mkdir -p /tmp/reli-crash | |
| sudo cp /tmp/reli-test/core.* /tmp/reli-crash/ 2>/dev/null || true | |
| sudo chmod -R a+r /tmp/reli-crash || true | |
| sudo dmesg -T > /tmp/reli-crash/dmesg.log 2>/dev/null || true | |
| ls -la /tmp/reli-crash/ || true | |
| - name: Upload crash diagnostics on failure | |
| if: failure() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: reli-crash-${{ matrix.targets }}-arm64 | |
| path: /tmp/reli-crash/ | |
| if-no-files-found: ignore | |
| - name: Fix coverage paths from Docker container | |
| run: sed -i 's|/app/|${{ github.workspace }}/|g' build/logs/clover.xml | |
| - name: Send to coveralls | |
| uses: coverallsapp/github-action@v2 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| file: build/logs/clover.xml | |
| flag-name: ${{ matrix.targets }}-arm64 | |
| parallel: true | |
| - name: Save target Docker image for cache | |
| if: steps.target-cache.outputs.cache-hit != 'true' | |
| run: | | |
| TARGET_IMAGE=$(docker images --format '{{.Repository}}:{{.Tag}}' | grep '^php:' | head -1) | |
| if [ -n "$TARGET_IMAGE" ]; then | |
| docker save "$TARGET_IMAGE" | gzip > /tmp/target-image.tar.gz | |
| fi | |
| coveralls-finish: | |
| name: Coveralls finish | |
| needs: [phpunit-unit, phpunit-unit-arm64, phpunit-target-version, phpunit-target-version-arm64] | |
| if: always() | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Finish parallel build | |
| uses: coverallsapp/github-action@v2 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| parallel-finished: true |