Summary
Run the storage unit-test suite against both MariaDB and MySQL.
Rationale
PR #450 removes MariaDB-specific RETURNING syntax so Spider supports MySQL. The test workflow must validate database behaviour on both supported database engines.
Required changes
- Update the task-based local test workflow to run the relevant unit tests with MariaDB and with MySQL.
- Update CI to run the relevant unit tests with MariaDB and with MySQL.
- Keep database setup and test configuration explicit for each engine.
- Ensure test failures identify the database engine that failed.
Affected areas
- Storage database test configuration.
- Task definitions for unit tests.
- CI workflow definitions that provision database services and run unit tests.
Acceptance criteria
- A developer can run the relevant unit tests through the project task workflow against MariaDB.
- A developer can run the same unit tests through the project task workflow against MySQL.
- CI executes the relevant unit tests against MariaDB and MySQL.
- CI reports failures separately for each database engine.
- The documented test commands and CI configuration remain reproducible.
Backlinks
Summary
Run the storage unit-test suite against both MariaDB and MySQL.
Rationale
PR #450 removes MariaDB-specific
RETURNINGsyntax so Spider supports MySQL. The test workflow must validate database behaviour on both supported database engines.Required changes
Affected areas
Acceptance criteria
Backlinks