test: run openedx and common tests with both lms and cms settings (#29676)
This commit is contained in:
committed by
GitHub
parent
003bbe3482
commit
4e22a38ca5
285
.github/workflows/unit-test-shards.json
vendored
285
.github/workflows/unit-test-shards.json
vendored
@@ -1,14 +1,275 @@
|
||||
{
|
||||
"lms-1": "lms/djangoapps/badges/ lms/djangoapps/branding/ lms/djangoapps/bulk_email/ lms/djangoapps/bulk_enroll/ lms/djangoapps/bulk_user_retirement/ lms/djangoapps/ccx/ lms/djangoapps/certificates/ lms/djangoapps/commerce/",
|
||||
"lms-2": "lms/djangoapps/course_api/ lms/djangoapps/course_blocks/ lms/djangoapps/course_goals/ lms/djangoapps/course_home_api/ lms/djangoapps/course_wiki/ lms/djangoapps/coursewarehistoryextended/ lms/djangoapps/debug/",
|
||||
"lms-3": "lms/djangoapps/courseware/",
|
||||
"lms-4": "lms/djangoapps/discussion/ lms/djangoapps/edxnotes/ lms/djangoapps/email_marketing/ lms/djangoapps/experiments/",
|
||||
"lms-5": "lms/djangoapps/gating/ lms/djangoapps/grades/ lms/djangoapps/instructor/ lms/djangoapps/instructor_analytics/",
|
||||
"lms-6": "lms/djangoapps/instructor_task/ lms/djangoapps/learner_dashboard/ lms/djangoapps/lms_initialization/ lms/djangoapps/lms_xblock/ lms/djangoapps/lti_provider/ lms/djangoapps/mailing/ lms/djangoapps/mobile_api/ lms/djangoapps/monitoring/ lms/djangoapps/program_enrollments/ lms/djangoapps/rss_proxy/ lms/djangoapps/save_for_later/ lms/djangoapps/static_template_view/ lms/djangoapps/staticbook/ lms/djangoapps/support/ lms/djangoapps/survey/ lms/djangoapps/teams/ lms/djangoapps/tests/ lms/djangoapps/user_tours/ lms/djangoapps/verify_student/ lms/envs/ lms/lib/ lms/tests.py",
|
||||
"openedx-1": "openedx/core/djangoapps/ace_common/ openedx/core/djangoapps/cors_csrf/ openedx/core/djangoapps/agreements/ openedx/core/djangoapps/api_admin/ openedx/core/djangoapps/auth_exchange/ openedx/core/djangoapps/bookmarks/ openedx/core/djangoapps/cache_toolbox/ openedx/core/djangoapps/catalog/ openedx/core/djangoapps/ccxcon/ openedx/core/djangoapps/commerce/ openedx/core/djangoapps/common_initialization/ openedx/core/djangoapps/common_views/ openedx/core/djangoapps/config_model_utils/ openedx/core/djangoapps/content/ openedx/core/djangoapps/content_libraries/ openedx/core/djangoapps/contentserver/ openedx/core/djangoapps/cookie_metadata/ openedx/core/djangoapps/course_apps/ openedx/core/djangoapps/course_date_signals/ openedx/core/djangoapps/course_groups/ openedx/core/djangoapps/coursegraph/ openedx/core/djangoapps/courseware_api/ openedx/core/djangoapps/crawlers/ openedx/core/djangoapps/credentials/ openedx/core/djangoapps/credit/ openedx/core/djangoapps/dark_lang/ openedx/core/djangoapps/debug/ openedx/core/djangoapps/demographics/ openedx/core/djangoapps/discussions/ openedx/core/djangoapps/django_comment_common/ openedx/core/djangoapps/embargo/ openedx/core/djangoapps/enrollments/ openedx/core/djangoapps/external_user_ids/",
|
||||
"openedx-2": "openedx/core/djangoapps/geoinfo/ openedx/core/djangoapps/header_control/ openedx/core/djangoapps/heartbeat/ openedx/core/djangoapps/lang_pref/ openedx/core/djangoapps/models/ openedx/core/djangoapps/monkey_patch/ openedx/core/djangoapps/oauth_dispatch/ openedx/core/djangoapps/olx_rest_api/ openedx/core/djangoapps/password_policy/ openedx/core/djangoapps/plugin_api/ openedx/core/djangoapps/plugins/ openedx/core/djangoapps/profile_images/ openedx/core/djangoapps/programs/ openedx/core/djangoapps/safe_sessions/ openedx/core/djangoapps/schedules/ openedx/core/djangoapps/self_paced/ openedx/core/djangoapps/service_status/ openedx/core/djangoapps/session_inactivity_timeout/ openedx/core/djangoapps/signals/ openedx/core/djangoapps/site_configuration/ openedx/core/djangoapps/system_wide_roles/ openedx/core/djangoapps/theming/ openedx/core/djangoapps/user_api/ openedx/core/djangoapps/user_authn/ openedx/core/djangoapps/util/ openedx/core/djangoapps/verified_track_content/ openedx/core/djangoapps/video_config/ openedx/core/djangoapps/video_pipeline/ openedx/core/djangoapps/waffle_utils/ openedx/core/djangoapps/xblock/ openedx/core/djangoapps/xmodule_django/ openedx/core/djangoapps/zendesk_proxy/ openedx/core/djangolib/ openedx/core/lib/ openedx/core/tests/ openedx/core/tests/ openedx/features/ openedx/testing/ openedx/tests/",
|
||||
"cms-1": "cms/djangoapps/api/ cms/djangoapps/cms_user_tasks/ cms/djangoapps/course_creators/ cms/djangoapps/export_course_metadata/ cms/djangoapps/maintenance/ cms/djangoapps/models/ cms/djangoapps/pipeline_js/ cms/djangoapps/xblock_config/ cms/envs/ cms/lib/",
|
||||
"cms-2": "cms/djangoapps/contentstore/",
|
||||
"common-1": "common/djangoapps/",
|
||||
"common-2": "common/lib/"
|
||||
"lms-1": {
|
||||
"settings": "lms.envs.test",
|
||||
"paths": [
|
||||
"lms/djangoapps/badges/",
|
||||
"lms/djangoapps/branding/",
|
||||
"lms/djangoapps/bulk_email/",
|
||||
"lms/djangoapps/bulk_enroll/",
|
||||
"lms/djangoapps/bulk_user_retirement/",
|
||||
"lms/djangoapps/ccx/",
|
||||
"lms/djangoapps/certificates/",
|
||||
"lms/djangoapps/commerce/"
|
||||
]
|
||||
},
|
||||
"lms-2": {
|
||||
"settings": "lms.envs.test",
|
||||
"paths": [
|
||||
"lms/djangoapps/course_api/",
|
||||
"lms/djangoapps/course_blocks/",
|
||||
"lms/djangoapps/course_goals/",
|
||||
"lms/djangoapps/course_home_api/",
|
||||
"lms/djangoapps/course_wiki/",
|
||||
"lms/djangoapps/coursewarehistoryextended/",
|
||||
"lms/djangoapps/debug/"
|
||||
]
|
||||
},
|
||||
"lms-3": {
|
||||
"settings": "lms.envs.test",
|
||||
"paths": [
|
||||
"lms/djangoapps/courseware/"
|
||||
]
|
||||
},
|
||||
"lms-4": {
|
||||
"settings": "lms.envs.test",
|
||||
"paths": [
|
||||
"lms/djangoapps/discussion/",
|
||||
"lms/djangoapps/edxnotes/",
|
||||
"lms/djangoapps/email_marketing/",
|
||||
"lms/djangoapps/experiments/"
|
||||
]
|
||||
},
|
||||
"lms-5": {
|
||||
"settings": "lms.envs.test",
|
||||
"paths": [
|
||||
"lms/djangoapps/gating/",
|
||||
"lms/djangoapps/grades/",
|
||||
"lms/djangoapps/instructor/",
|
||||
"lms/djangoapps/instructor_analytics/"
|
||||
]
|
||||
},
|
||||
"lms-6": {
|
||||
"settings": "lms.envs.test",
|
||||
"paths": [
|
||||
"lms/djangoapps/instructor_task/",
|
||||
"lms/djangoapps/learner_dashboard/",
|
||||
"lms/djangoapps/lms_initialization/",
|
||||
"lms/djangoapps/lms_xblock/",
|
||||
"lms/djangoapps/lti_provider/",
|
||||
"lms/djangoapps/mailing/",
|
||||
"lms/djangoapps/mobile_api/",
|
||||
"lms/djangoapps/monitoring/",
|
||||
"lms/djangoapps/program_enrollments/",
|
||||
"lms/djangoapps/rss_proxy/",
|
||||
"lms/djangoapps/save_for_later/",
|
||||
"lms/djangoapps/static_template_view/",
|
||||
"lms/djangoapps/staticbook/",
|
||||
"lms/djangoapps/support/",
|
||||
"lms/djangoapps/survey/",
|
||||
"lms/djangoapps/teams/",
|
||||
"lms/djangoapps/tests/",
|
||||
"lms/djangoapps/user_tours/",
|
||||
"lms/djangoapps/verify_student/",
|
||||
"lms/envs/",
|
||||
"lms/lib/",
|
||||
"lms/tests.py"
|
||||
]
|
||||
},
|
||||
"openedx-1": {
|
||||
"settings": "lms.envs.test",
|
||||
"paths": [
|
||||
"openedx/core/djangoapps/ace_common/",
|
||||
"openedx/core/djangoapps/cors_csrf/",
|
||||
"openedx/core/djangoapps/agreements/",
|
||||
"openedx/core/djangoapps/api_admin/",
|
||||
"openedx/core/djangoapps/auth_exchange/",
|
||||
"openedx/core/djangoapps/bookmarks/",
|
||||
"openedx/core/djangoapps/cache_toolbox/",
|
||||
"openedx/core/djangoapps/catalog/",
|
||||
"openedx/core/djangoapps/ccxcon/",
|
||||
"openedx/core/djangoapps/commerce/",
|
||||
"openedx/core/djangoapps/common_initialization/",
|
||||
"openedx/core/djangoapps/common_views/",
|
||||
"openedx/core/djangoapps/config_model_utils/",
|
||||
"openedx/core/djangoapps/content/",
|
||||
"openedx/core/djangoapps/content_libraries/",
|
||||
"openedx/core/djangoapps/contentserver/",
|
||||
"openedx/core/djangoapps/cookie_metadata/",
|
||||
"openedx/core/djangoapps/course_apps/",
|
||||
"openedx/core/djangoapps/course_date_signals/",
|
||||
"openedx/core/djangoapps/course_groups/",
|
||||
"openedx/core/djangoapps/coursegraph/",
|
||||
"openedx/core/djangoapps/courseware_api/",
|
||||
"openedx/core/djangoapps/crawlers/",
|
||||
"openedx/core/djangoapps/credentials/",
|
||||
"openedx/core/djangoapps/credit/",
|
||||
"openedx/core/djangoapps/dark_lang/",
|
||||
"openedx/core/djangoapps/debug/",
|
||||
"openedx/core/djangoapps/demographics/",
|
||||
"openedx/core/djangoapps/discussions/",
|
||||
"openedx/core/djangoapps/django_comment_common/",
|
||||
"openedx/core/djangoapps/embargo/",
|
||||
"openedx/core/djangoapps/enrollments/",
|
||||
"openedx/core/djangoapps/external_user_ids/"
|
||||
]
|
||||
},
|
||||
"openedx-2": {
|
||||
"settings": "lms.envs.test",
|
||||
"paths": [
|
||||
"openedx/core/djangoapps/geoinfo/",
|
||||
"openedx/core/djangoapps/header_control/",
|
||||
"openedx/core/djangoapps/heartbeat/",
|
||||
"openedx/core/djangoapps/lang_pref/",
|
||||
"openedx/core/djangoapps/models/",
|
||||
"openedx/core/djangoapps/monkey_patch/",
|
||||
"openedx/core/djangoapps/oauth_dispatch/",
|
||||
"openedx/core/djangoapps/olx_rest_api/",
|
||||
"openedx/core/djangoapps/password_policy/",
|
||||
"openedx/core/djangoapps/plugin_api/",
|
||||
"openedx/core/djangoapps/plugins/",
|
||||
"openedx/core/djangoapps/profile_images/",
|
||||
"openedx/core/djangoapps/programs/",
|
||||
"openedx/core/djangoapps/safe_sessions/",
|
||||
"openedx/core/djangoapps/schedules/",
|
||||
"openedx/core/djangoapps/self_paced/",
|
||||
"openedx/core/djangoapps/service_status/",
|
||||
"openedx/core/djangoapps/session_inactivity_timeout/",
|
||||
"openedx/core/djangoapps/signals/",
|
||||
"openedx/core/djangoapps/site_configuration/",
|
||||
"openedx/core/djangoapps/system_wide_roles/",
|
||||
"openedx/core/djangoapps/theming/",
|
||||
"openedx/core/djangoapps/user_api/",
|
||||
"openedx/core/djangoapps/user_authn/",
|
||||
"openedx/core/djangoapps/util/",
|
||||
"openedx/core/djangoapps/verified_track_content/",
|
||||
"openedx/core/djangoapps/video_config/",
|
||||
"openedx/core/djangoapps/video_pipeline/",
|
||||
"openedx/core/djangoapps/waffle_utils/",
|
||||
"openedx/core/djangoapps/xblock/",
|
||||
"openedx/core/djangoapps/xmodule_django/",
|
||||
"openedx/core/djangoapps/zendesk_proxy/",
|
||||
"openedx/core/djangolib/",
|
||||
"openedx/core/lib/",
|
||||
"openedx/core/tests/",
|
||||
"openedx/features/",
|
||||
"openedx/testing/",
|
||||
"openedx/tests/"
|
||||
]
|
||||
},
|
||||
"openedx-3": {
|
||||
"settings": "cms.envs.test",
|
||||
"paths": [
|
||||
"openedx/core/djangoapps/ace_common/",
|
||||
"openedx/core/djangoapps/cors_csrf/",
|
||||
"openedx/core/djangoapps/agreements/",
|
||||
"openedx/core/djangoapps/api_admin/",
|
||||
"openedx/core/djangoapps/auth_exchange/",
|
||||
"openedx/core/djangoapps/bookmarks/",
|
||||
"openedx/core/djangoapps/cache_toolbox/",
|
||||
"openedx/core/djangoapps/catalog/",
|
||||
"openedx/core/djangoapps/ccxcon/",
|
||||
"openedx/core/djangoapps/commerce/",
|
||||
"openedx/core/djangoapps/common_initialization/",
|
||||
"openedx/core/djangoapps/common_views/",
|
||||
"openedx/core/djangoapps/config_model_utils/",
|
||||
"openedx/core/djangoapps/content/",
|
||||
"openedx/core/djangoapps/content_libraries/",
|
||||
"openedx/core/djangoapps/contentserver/",
|
||||
"openedx/core/djangoapps/cookie_metadata/",
|
||||
"openedx/core/djangoapps/course_apps/",
|
||||
"openedx/core/djangoapps/course_date_signals/",
|
||||
"openedx/core/djangoapps/course_groups/",
|
||||
"openedx/core/djangoapps/coursegraph/",
|
||||
"openedx/core/djangoapps/courseware_api/",
|
||||
"openedx/core/djangoapps/crawlers/",
|
||||
"openedx/core/djangoapps/credentials/",
|
||||
"openedx/core/djangoapps/credit/",
|
||||
"openedx/core/djangoapps/dark_lang/",
|
||||
"openedx/core/djangoapps/debug/",
|
||||
"openedx/core/djangoapps/demographics/",
|
||||
"openedx/core/djangoapps/discussions/",
|
||||
"openedx/core/djangoapps/django_comment_common/",
|
||||
"openedx/core/djangoapps/embargo/",
|
||||
"openedx/core/djangoapps/enrollments/",
|
||||
"openedx/core/djangoapps/external_user_ids/"
|
||||
]
|
||||
},
|
||||
"openedx-4": {
|
||||
"settings": "cms.envs.test",
|
||||
"paths": [
|
||||
"openedx/core/djangoapps/geoinfo/",
|
||||
"openedx/core/djangoapps/header_control/",
|
||||
"openedx/core/djangoapps/heartbeat/",
|
||||
"openedx/core/djangoapps/lang_pref/",
|
||||
"openedx/core/djangoapps/models/",
|
||||
"openedx/core/djangoapps/monkey_patch/",
|
||||
"openedx/core/djangoapps/oauth_dispatch/",
|
||||
"openedx/core/djangoapps/olx_rest_api/",
|
||||
"openedx/core/djangoapps/password_policy/",
|
||||
"openedx/core/djangoapps/plugin_api/",
|
||||
"openedx/core/djangoapps/plugins/",
|
||||
"openedx/core/djangoapps/profile_images/",
|
||||
"openedx/core/djangoapps/programs/",
|
||||
"openedx/core/djangoapps/safe_sessions/",
|
||||
"openedx/core/djangoapps/schedules/",
|
||||
"openedx/core/djangoapps/self_paced/",
|
||||
"openedx/core/djangoapps/service_status/",
|
||||
"openedx/core/djangoapps/session_inactivity_timeout/",
|
||||
"openedx/core/djangoapps/signals/",
|
||||
"openedx/core/djangoapps/site_configuration/",
|
||||
"openedx/core/djangoapps/system_wide_roles/",
|
||||
"openedx/core/djangoapps/theming/",
|
||||
"openedx/core/djangoapps/user_api/",
|
||||
"openedx/core/djangoapps/user_authn/",
|
||||
"openedx/core/djangoapps/util/",
|
||||
"openedx/core/djangoapps/verified_track_content/",
|
||||
"openedx/core/djangoapps/video_config/",
|
||||
"openedx/core/djangoapps/video_pipeline/",
|
||||
"openedx/core/djangoapps/waffle_utils/",
|
||||
"openedx/core/djangoapps/xblock/",
|
||||
"openedx/core/djangoapps/xmodule_django/",
|
||||
"openedx/core/djangoapps/zendesk_proxy/",
|
||||
"openedx/core/lib/",
|
||||
"openedx/tests/"
|
||||
]
|
||||
},
|
||||
"cms-1": {
|
||||
"settings": "cms.envs.test",
|
||||
"paths": [
|
||||
"cms/djangoapps/api/",
|
||||
"cms/djangoapps/cms_user_tasks/",
|
||||
"cms/djangoapps/course_creators/",
|
||||
"cms/djangoapps/export_course_metadata/",
|
||||
"cms/djangoapps/maintenance/",
|
||||
"cms/djangoapps/models/",
|
||||
"cms/djangoapps/pipeline_js/",
|
||||
"cms/djangoapps/xblock_config/",
|
||||
"cms/envs/",
|
||||
"cms/lib/"
|
||||
]
|
||||
},
|
||||
"cms-2": {
|
||||
"settings": "cms.envs.test",
|
||||
"paths": [
|
||||
"cms/djangoapps/contentstore/"
|
||||
]
|
||||
},
|
||||
"common-1": {
|
||||
"settings": "lms.envs.test",
|
||||
"paths": [
|
||||
"common/djangoapps/"
|
||||
]
|
||||
},
|
||||
"common-2": {
|
||||
"settings": "lms.envs.test",
|
||||
"paths": [
|
||||
"common/lib/"
|
||||
]
|
||||
},
|
||||
"common-3": {
|
||||
"settings": "cms.envs.test",
|
||||
"paths": [
|
||||
"common/djangoapps/"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user