Commit Graph

2 Commits

Author SHA1 Message Date
wpdev 59c9b698b7 test: 加入 integration 測試套件(連真實 MariaDB)
Tests / PHP Lint (push) Successful in 5s
Tests / Unit Tests (push) Successful in 16s
Tests / Integration Tests (push) Successful in 20s
從 wp-data-optimizer v3.4.6 移植 5 個 integration 測試檔,並新增
tests/integration/bootstrap.php(複用核心的 integration bootstrap,不重複
 與 WP stub)+ phpunit-integration.xml + CI integration job。
2026-07-31 09:56:48 +08:00
wpdev 843a8e2156 ci: 加入 test workflow(lint + unit)
Tests / PHP Lint (push) Successful in 5s
Tests / Unit Tests (push) Successful in 15s
unit job 會一併 checkout 核心 plugin — 本 AddOn 的測試 bootstrap 直接
require 核心的 tests/bootstrap.php。

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TbG1keQQ7XBa7qMQY16KCY
2026-07-31 09:20:07 +08:00