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

Add modules spes to be run by ci.

Pavel Balashou4224c2d17942
diff --git a/docker/ci/entrypoint.sh b/docker/ci/entrypoint.sh
index 268bb7a698a..e99498de994 100755
--- a/docker/ci/entrypoint.sh
+++ b/docker/ci/entrypoint.sh
@@ -74,9 +74,7 @@ setup_tests() {
run_units() {
reset_dbs
execute_quiet "cp -f /cache/turbo_runtime_units.log spec/support/ || true"
- # turbo_tests cannot yet exclude specific directories, so copying spec/features elsewhere (temporarily)
- execute_quiet "mv spec/features tmp/"
- execute "time bundle exec turbo_tests --verbose -n $JOBS --runtime-log spec/support/turbo_runtime_units.log spec"
+ execute "time bundle exec turbo_tests --verbose -n $JOBS --runtime-log spec/support/turbo_runtime_units.log spec/!(features) modules/**/spec/!(features)"
execute_quiet "cp -f spec/support/turbo_runtime_units.log /cache/ || true"
cleanup
}
@@ -84,7 +82,7 @@ run_units() {
run_features() {
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"
+ execute "time bundle exec turbo_tests --verbose -n $JOBS --runtime-log spec/support/turbo_runtime_features.log spec/features modules/**/spec/features"
execute_quiet "cp -f spec/support/turbo_runtime_features.log /cache/ || true"
cleanup
}
@@ -92,7 +90,7 @@ run_features() {
run_all() {
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"
+ execute "time bundle exec turbo_tests --verbose -n $JOBS --runtime-log spec/support/turbo_runtime_all.log spec modules/**/spec"
execute_quiet "cp -f spec/support/turbo_runtime_all.log /cache/ || true"
cleanup
}