Revert "Revert "refactor: move xmodule folder to root""

This commit is contained in:
Muhammad Umar Khan
2022-06-20 18:20:06 +05:00
committed by GitHub
parent 46d848be41
commit a389a9ff10
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"
]