refactor: move xmodule folder to root

- Moving xmodule folder to root as we're dissolving sub-projects of common folder in edx-platform
    - More info: https://openedx.atlassian.net/browse/BOM-2579
- -e common/lib/xmodule has been removed from the requirements as xmodule has itself become the part of edx-platform and not being installed through requirements
- The test files common/lib/xmodule/test_files/ have been removed as they are not being used anymore
This commit is contained in:
M Umar Khan
2022-05-19 21:40:48 +05:00
parent 26c8ec5c2a
commit a91df0c40f
487 changed files with 216 additions and 339 deletions

2
.github/CODEOWNERS vendored
View File

@@ -3,7 +3,6 @@
# Core
common/djangoapps/student/
common/djangoapps/third_party_auth/
common/lib/xmodule/xmodule/
lms/djangoapps/course_api/blocks
lms/djangoapps/courseware/
lms/djangoapps/grades/
@@ -15,6 +14,7 @@ openedx/core/djangoapps/oauth_dispatch
openedx/core/djangoapps/user_api/
openedx/core/djangoapps/user_authn/
openedx/features/course_experience/
xmodule/
# Core Extensions
common/lib/xmodule/xmodule/capa_module.py

View File

@@ -7,7 +7,7 @@ runs:
shell: bash
run: |
echo "root_cms_unit_tests_count=$(pytest --collect-only --ds=cms.envs.test cms/ -q | head -n -2 | wc -l)" >> $GITHUB_ENV
echo "root_lms_unit_tests_count=$(pytest --collect-only --ds=lms.envs.test lms/ openedx/ common/djangoapps/ common/lib/ -q | head -n -2 | wc -l)" >> $GITHUB_ENV
echo "root_lms_unit_tests_count=$(pytest --collect-only --ds=lms.envs.test lms/ openedx/ common/djangoapps/ common/lib/ xmodule/ -q | head -n -2 | wc -l)" >> $GITHUB_ENV
- name: get GHA unit test paths
shell: bash

View File

@@ -26,6 +26,8 @@ jobs:
path: "common"
- module-name: cms
path: "cms"
- module-name: xmodule
path: "xmodule"
name: pylint ${{ matrix.module-name }}

View File

@@ -270,5 +270,11 @@
"paths": [
"common/djangoapps/"
]
},
"xmodule-1": {
"settings": "lms.envs.test",
"paths": [
"xmodule/"
]
}
}

View File

@@ -32,6 +32,7 @@ jobs:
"common-1",
"common-2",
"common-3",
"xmodule-1"
]