-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add more tests in integration test
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,9 @@ jobs: | |
- name: Adding data to the config.yml | ||
run: | | ||
PICASSO_TUTOR_VERSION=$(tutor --version | awk '{print $NF}') | ||
cat <<EOF >> config.yml | ||
PICASSO_TUTOR_VERSION: $PICASSO_TUTOR_VERSION | ||
PICASSO_MANAGE_DPKG: | ||
name: eox-manage | ||
repo: [email protected]:eduNEXT/eox-manage.git | ||
|
@@ -42,6 +44,13 @@ jobs: | |
- name: endx-saas-themes | ||
repo: [email protected]:eduNEXT/ednx-saas-themes.git | ||
version: master | ||
PICASSO_THEME_DIRS: | ||
- /openedx/themes/ednx-saas-themes/edx-platform | ||
- /openedx/themes/ednx-saas-themes/edx-platform/bragi-generator | ||
- /openedx/themes/ednx-saas-themes/edx-platform/bragi-children | ||
PICASSO_THEMES_NAME: | ||
- bragi | ||
- css-runtime | ||
PICASSO_EXTRA_COMMANDS: | ||
- tutor plugins update | ||
- tutor plugins index add https://raw.githubusercontent.com/eduNEXT/tutor-plugin-indexes/picasso_test/ | ||
|
@@ -58,6 +67,27 @@ jobs: | |
run: | | ||
TUTOR_ROOT="$(pwd)" tutor picasso enable-themes | ||
if grep -q 'bragi' env/build/openedx/Dockerfile; then | ||
echo "'bragi' found in env/build/openedx/Dockerfile." | ||
else | ||
echo "'bragi' not found for the building process." | ||
exit 1 | ||
fi | ||
if grep -q '/openedx/themes/ednx-saas-themes/edx-platform' env/build/openedx/Dockerfile; then | ||
echo "'/openedx/themes/ednx-saas-themes/edx-platform' found in env/build/openedx/Dockerfile." | ||
else | ||
echo "'/openedx/themes/ednx-saas-themes/edx-platform' not found for the building process." | ||
exit 1 | ||
fi | ||
if grep -q 'ENABLE_COMPREHENSIVE_THEMING = True' env/apps/openedx/settings/lms/production.py; then | ||
echo "'ENABLE_COMPREHENSIVE_THEMING = True' found in env/apps/openedx/settings/lms/production.py." | ||
else | ||
echo "'ENABLE_COMPREHENSIVE_THEMING = True' not found in env/apps/openedx/settings/lms/production.py." | ||
exit 1 | ||
fi | ||
- name: Check enable-private-packages | ||
run: | | ||
TUTOR_ROOT="$(pwd)" tutor picasso enable-private-packages | ||
|