Skip to content

chore(1.x): release 1.1.0 #14

chore(1.x): release 1.1.0

chore(1.x): release 1.1.0 #14

Workflow file for this run

---
name: 🧩 Unit
on: # yamllint disable-line rule:truthy
pull_request:
branches:
- 1.x
push:
branches:
- 1.x
jobs:
unit:
name: Unit · PHP ${{ matrix.php-version }}
timeout-minutes: 4
runs-on: ${{ matrix.os }}
concurrency:
cancel-in-progress: true
group: unit-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ matrix.php-version }}-${{ matrix.dependencies }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
php-version:
- '8.2'
- '8.3'
- '8.4'
- '8.5'
dependencies:
# - lowest
# - locked
- highest
steps:
- name: 📦 Check out the codebase
uses: actions/checkout@v6
- name: 🛠️ Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: pdo, pdo_sqlite
ini-values: error_reporting=E_ALL
- name: 🤖 Validate composer.json and composer.lock
run: composer validate --ansi --strict
- name: 📥 Install dependencies with composer
uses: ramsey/composer-install@v3
env:
COMPOSER_ROOT_VERSION: '1.x-dev'
with:
dependency-versions: ${{ matrix.dependencies }}
- name: 🧪 Run tests (excluding driver-bound groups)
run: composer test:no-driver
code-coverage:
name: Code coverage
timeout-minutes: 4
runs-on: ubuntu-latest
concurrency:
cancel-in-progress: true
group: code-coverage-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
steps:
- name: 📦 Check out the codebase
uses: actions/checkout@v6
- name: 🛠️ Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.4'
extensions: pdo, pdo_sqlite
ini-values: error_reporting=E_ALL
coverage: xdebug
- name: 📥 Install dependencies with composer
uses: ramsey/composer-install@v3
env:
COMPOSER_ROOT_VERSION: '1.x-dev'
with:
dependency-versions: highest
- name: 🧪 Collect code coverage with Testo
run: composer test:cc
- name: 📤 Upload code coverage report to Codecov
uses: codecov/codecov-action@v5
with:
files: runtime/clover.xml
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true