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

Enable globstar and extglob for run functions.

Pavel Balashoube1db39b7b2b
diff --git a/docker/ci/entrypoint.sh b/docker/ci/entrypoint.sh
index e99498de994..28f312d3813 100755
--- a/docker/ci/entrypoint.sh
+++ b/docker/ci/entrypoint.sh
@@ -72,6 +72,7 @@ setup_tests() {
}
run_units() {
+ shopt -s extglob
reset_dbs
execute_quiet "cp -f /cache/turbo_runtime_units.log spec/support/ || true"
execute "time bundle exec turbo_tests --verbose -n $JOBS --runtime-log spec/support/turbo_runtime_units.log spec/!(features) modules/**/spec/!(features)"
@@ -80,6 +81,7 @@ run_units() {
}
run_features() {
+ shopt -s extglob
reset_dbs
execute_quiet "cp -f /cache/turbo_runtime_features.log spec/support/ || true"
execute "time bundle exec turbo_tests --verbose -n $JOBS --runtime-log spec/support/turbo_runtime_features.log spec/features modules/**/spec/features"
@@ -88,6 +90,7 @@ run_features() {
}
run_all() {
+ shopt -s globstar
reset_dbs
execute_quiet "cp -f /cache/turbo_runtime_all.log spec/support/ || true"
execute "time bundle exec turbo_tests --verbose -n $JOBS --runtime-log spec/support/turbo_runtime_all.log spec modules/**/spec"