diff --git a/Makefile b/Makefile index cee58e9..1a65bdc 100644 --- a/Makefile +++ b/Makefile @@ -49,15 +49,16 @@ test: bin/rails db:environment:set RAILS_ENV=test bin/rails test -check: - make test - make lint - setup-ci: make setup yarn install RAILS_ENV=test bin/rails assets:precompile +ci-check: + make lint + bin/rails db:create + make test + start-production: bin/rails db:migrate diff --git a/docker-compose.yml b/docker-compose.yml index 162b5e2..5528e97 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -25,7 +25,7 @@ services: DATABASE_USERNAME: postgres DATABASE_PASSWORD: password DATABASE_NAME: postgres - command: make check + command: make ci-check depends_on: db: condition: service_healthy