4 Commits

Author SHA1 Message Date
peptiderepo
d1c36f6fbd ci: fix peptide-e2e org ref + deploy.yml permissions (#62)
Fix stale peptiderepo/peptide-e2e refs.

Agent-Session: fix-e2e-ref-20260617
2026-06-17 11:37:55 +07:00
peptiderepo
a751a8f890 Adopt reusable CI standard + helpers split (#61) 2026-06-16 21:36:06 +07:00
peptiderepo
e3ab80f482 ci: standardize PHP matrix to 8.1/8.2/8.3 2026-04-26 11:55:58 +07:00
peptiderepo
80f573a94c ci: run PHPUnit in CI (tests exist, were never executed) (#2)
* ci: add PHPUnit workflow that runs the existing test suite

59 tests exist across 8 files but were never running in CI.
This adds a ci.yml with PHP Lint + PHPCS + PHPUnit against WP test
framework on a MySQL service.

Agent-Session: cowork-pr-theme-tests-20260414

* ci: vendor install-wp-tests.sh for the PHPUnit workflow

Standard WP-CLI scaffold script, lightly hardened. Kept in-repo
instead of curl-from-github so CI is reproducible.

Agent-Session: cowork-pr-theme-tests-20260414

* chore: retrigger CI after reviewer fix landed on main

Agent-Session: cowork-pr-theme-tests-20260414

* ci: install subversion before bootstrap (svn no longer preinstalled)

ubuntu-latest dropped svn from the default image. install-wp-tests.sh
still uses svn to fetch the WP test suite from develop.svn.wordpress.org.
Add a step to apt-install subversion before the bootstrap runs.

Agent-Session: cowork-pr-theme-tests-20260414

* ci: skip db creation in install-wp-tests.sh (MySQL service already created it)

Agent-Session: cowork-pr-theme-tests-20260414

* ci: WP_CORE_DIR needs trailing slash for ABSPATH substitution

The wp-tests-config.php substitution copies WP_CORE_DIR into ABSPATH
verbatim, then later WordPress concatenates wp-settings.php. Without
the trailing slash you get /tmp/wordpresswp-settings.php.

Agent-Session: cowork-pr-theme-tests-20260414
2026-04-14 17:07:14 +07:00