mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 18:52:07 +08:00
Fix makefile for test [SCI-9570] (#6631)
This commit is contained in:
parent
3bc7edc7f7
commit
b916ad0bfe
1 changed files with 5 additions and 1 deletions
6
Makefile
6
Makefile
|
@ -94,7 +94,11 @@ tests-ci:
|
|||
-e ENABLE_USER_CONFIRMATION=false \
|
||||
-e ENABLE_USER_REGISTRATION=true \
|
||||
-e CORE_API_RATE_LIMIT=1000000 \
|
||||
--rm web bash -c "rake db:create && rake db:migrate && bundle exec rspec ./spec/requests/api/"
|
||||
-e PROTOCOLS_IO_ACCESS_TOKEN=PROTOCOLS_IO_ACCESS_TOKEN \
|
||||
-e ENABLE_WEBHOOKS=true \
|
||||
--rm web bash -c "rake db:create && rake db:migrate && \
|
||||
yarn install && yarn build && yarn build:css && rails tailwindcss:build && \
|
||||
bundle exec rspec ./spec/"
|
||||
|
||||
console:
|
||||
@$(MAKE) rails cmd="rails console"
|
||||
|
|
Loading…
Reference in a new issue