mirror of
https://github.com/Blockstream/satellite-api.git
synced 2025-03-12 02:07:41 +01:00
sleep if tests failed so we can debug
This commit is contained in:
parent
a88135fe37
commit
3c92a4c106
1 changed files with 1 additions and 2 deletions
|
@ -29,9 +29,8 @@ test_build:
|
||||||
- export REDIS_URI=$REDIS_URI_CI
|
- export REDIS_URI=$REDIS_URI_CI
|
||||||
script:
|
script:
|
||||||
- bundle exec rake db:create && bundle exec rake db:schema:load && bundle exec rake db:migrate
|
- bundle exec rake db:create && bundle exec rake db:schema:load && bundle exec rake db:migrate
|
||||||
- bundle exec ruby tests/tests.rb || { echo "Tests failed.."; exit 1; }
|
- bundle exec ruby tests/tests.rb || { echo -e "Tests failed..\n Sleeping for an hour to debug."; sleep 3600; exit 1; }
|
||||||
- echo "Tests passed!"
|
- echo "Tests passed!"
|
||||||
- sleep 5000
|
|
||||||
|
|
||||||
# Run tests and build docker images
|
# Run tests and build docker images
|
||||||
build:
|
build:
|
||||||
|
|
Loading…
Add table
Reference in a new issue