$ crystal spec
.docker-compose.yml
file in this repository. We are testing against multiple databases so you have to specify which docker-compose file you would like to use. Replace "{database_type}" with "mysql" or "pg" or "sqlite". Before you can run the docker configuration you have to set the appropriate env variables. To do so you can either load them yourself or modify the .env
file that docker-compose loads by default../spec/run_all_specs.sh
. This will build and run each adapter, then cleanup after itself.$ shards install
.env
with $ source .env
$ crystal spec