-
Start the Docker container:
docker compose up --detach --wait
-
Set the environment variable (supports both DSN and MySQL URI formats):
export MYSQL_DSN="my:password@tcp(localhost:3306)/db" # OR export MYSQL_DSN="mysql://my:password@localhost:3306/db"
-
Run the tests:
cd validation pixi run test