Skip to content

Upstream metadata changes from Google for v8.13.34 #118

Upstream metadata changes from Google for v8.13.34

Upstream metadata changes from Google for v8.13.34 #118

Workflow file for this run

name: "Tests"
on:
push:
branches:
- 'main'
paths-ignore:
- 'docs/**'
pull_request:
paths-ignore:
- 'docs/**'
jobs:
tests:
name: PHP ${{ matrix.php-version }} - ${{ matrix.composer }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-version: ['8.0', 8.1, 8.2, 8.3]
composer: [highest, lowest]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: dom
coverage: xdebug
tools: composer:v2
- uses: "ramsey/composer-install@v3"
with:
dependency-versions: "${{ matrix.composer }}"
- name: composer validate
run: composer validate --strict
- name: Run unit tests
run: "./vendor/bin/phpunit --colors=always --coverage-clover build/logs/clover.xml --coverage-text"
- name: Publish coverage report to Codecov
uses: "codecov/codecov-action@v4"