Refer to the general Contribution Guidelines.
The mariadb connector is a C extension built from source, so it needs the MariaDB Connector/C system library
(mariadb_config): sudo apt-get install -y libmariadb-dev on Ubuntu, or brew install mariadb-connector-c
on macOS.
To run integration tests locally, you need a MariaDB 11.7+ instance running. You can start one using Docker:
docker run -d --name mariadb-haystack -e MARIADB_ROOT_PASSWORD=password -e MARIADB_DATABASE=haystack -p 3306:3306 mariadb:11.7