Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix CI entrypoint

Cyril Rohrf9de19fe51e8
diff --git a/docker/ci/entrypoint.sh b/docker/ci/entrypoint.sh
index 98d6e775956..1ee5d346082 100755
--- a/docker/ci/entrypoint.sh
+++ b/docker/ci/entrypoint.sh
@@ -54,7 +54,7 @@ if [ "$1" == "run-units" ]; then
execute "cd frontend && npm install && npm run test"
execute "time bundle exec rspec -I spec_legacy spec_legacy"
execute "time bundle exec rake parallel:units"
- if [ ! $? -eq 0 ];
+ if [ ! $? -eq 0 ]; then
execute "cat tmp/spec_examples.txt | grep -Ev 'passed|unknown|pending'"
exit 1
fi
@@ -66,7 +66,7 @@ if [ "$1" == "run-features" ]; then
execute "bundle exec rake assets:precompile assets:clean"
execute "cp -rp config/frontend_assets.manifest.json public/assets/frontend_assets.manifest.json"
execute "time bundle exec rake parallel:features"
- if [ ! $? -eq 0 ];
+ if [ ! $? -eq 0 ]; then
execute "cat tmp/spec_examples.txt | grep -Ev 'passed|unknown|pending'"
exit 1
fi