Repository navigation
feat(testo): add a reusable workflow for Testo and cycle/testing packages - #14
Merged
Merged
Conversation
…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
2 tasks
Assisted-By: Claude Opus 5.5
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What was changed
.github/workflows/testo.ymlthat runs the tests of a Cycle package built on Testo andcycle/testingthrough its composer scripts (test:unit,test:<driver>,db:up), withDB_REQUIRED=1.php(default 8.2–8.6) with highest dependencies, plus lowest on the lowest version; MySQL, Postgres and SQLServer onserver-php(default: lowest and highest ofphp), databases started from thecycle/testingcompose file.php,server-php,drivers([]= Unit only),dependencies,coverage(pcov on the top PHP, Codecov flagsunit/sqlite/mysql/postgres/sqlserver),extensions,ini-values,composer-root-version,composer-options,os,timeout-minutes; optional secretCODECOV_TOKENviasecrets: inherit.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
db-*.yml, which this PR leaves unchanged.