Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
usernaimandrey committed Oct 8, 2023
1 parent c49eb84 commit 7a566cb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7a566cb

Please sign in to comment.