Fix makefile for test [SCI-9570] (#6631)

This commit is contained in:
ajugo 2023-11-15 10:59:54 +01:00 committed by GitHub
parent 3bc7edc7f7
commit b916ad0bfe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"