Skip to content

test(storage): Run unit tests against MariaDB and MySQL in task workflows and CI #451

Description

@coderabbitai

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions