test: add coverage config, CI workflow and changelog
Tests / PHP 8.3 (push) Failing after 8m19s
Tests / PHP 8.4 (push) Failing after 7m43s

- Move coverage reports to phpunit.coverage.xml.dist: a coverage driver is optional and
  failOnWarning would turn its absence into a failed gate.
- Add a composer coverage script and document the requirement.
- Exclude development-only files from the distribution archive via export-ignore.
- Add a Gitea Actions workflow running composer check on PHP 8.3 and 8.4.
- Add CHANGELOG.md following Keep a Changelog.
- Add Packagist and CI badges to the README.
This commit is contained in:
dgarcia committed 2026-11-15 10:21:12 -03:00
1 parent d879c9781e
commit 9bfd039d50
6 files changed
+99

No files matched your search

+34
View File
@@ -0,0 +1,34 @@
name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
check:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: ['8.3', '8.4']
name: PHP ${{ matrix.php }}
steps:
- uses: actions/checkout@v4
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: json
coverage: none
tools: composer:v2
- name: Install dependencies
run: composer update --prefer-dist --no-interaction --no-progress
- name: Run gate
run: composer check