Skip to content

feat(testo): add a reusable workflow for Testo and cycle/testing packages - #14

Merged
roxblnfk merged 2 commits into
masterfrom
feat/testo-workflow
Nov 20, 2026
Merged

roxblnfk merged 2 commits into
masterfrom
feat/testo-workflow

Conversation

@roxblnfk

Copy link
Copy Markdown
Member

What was changed

  • New reusable workflow .github/workflows/testo.yml that runs the tests of a Cycle package built on Testo and cycle/testing through its composer scripts (test:unit, test:<driver>, db:up), with DB_REQUIRED=1.
  • Matrix: Unit + SQLite on every PHP version of php (default 8.2–8.6) with highest dependencies, plus lowest on the lowest version; MySQL, Postgres and SQLServer on server-php (default: lowest and highest of php), databases started from the cycle/testing compose file.
  • Inputs: php, server-php, drivers ([] = Unit only), dependencies, coverage (pcov on the top PHP, Codecov flags unit/sqlite/mysql/postgres/sqlserver), extensions, ini-values, composer-root-version, composer-options, os, timeout-minutes; optional secret CODECOV_TOKEN via secrets: inherit.
  • README section with the inputs and a caller example.

Why?

Each migrated package copied the same PHP × driver matrix; with one workflow the org adds a PHP version (now 8.6) in one place, and CI uses the same compose services as a local run.

Checklist

…ages

docs(testo): document the testo.yml workflow

Every package migrated to cycle/testing repeated the same matrix of PHP versions and drivers; keeping it in one workflow lets the org add a PHP version (now 8.6) in one place. Server drivers run on the lowest and highest PHP by default to keep CI time down, and the databases start from the cycle/testing compose file, so CI and local runs use the same services.

Assisted-By: Claude Opus 5.5
@roxblnfk
roxblnfk merged commit 7202bde into master Nov 20, 2026
2 of 3 checks passed
@roxblnfk
roxblnfk deleted the feat/testo-workflow branch November 20, 2026 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant