Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
magajh committed Sep 13, 2024
1 parent 05d2d5a commit 2264348
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,22 @@ jobs:
sudo apt-get install -y python3 python3-pip curl
pip3 install tutor
- name: Configure Tutor plugin
run: |
tutor config save
echo 'Patching Caddyfile...'
echo "
{$default_site_port} {
import proxy 'lms:8000'
}
" > $(tutor config printroot)/env/apps/caddy/Caddyfile
echo 'Patching CMS production settings...'
echo "ALLOWED_HOSTS = ['*']" > $(tutor config printroot)/env/apps/openedx/settings/cms/production.py
echo 'Patching LMS production settings...'
echo "ALLOWED_HOSTS = ['*']" > $(tutor config printroot)/env/apps/openedx/settings/lms/production.py
- name: Launch Tutor
run: |
tutor config save
Expand Down

0 comments on commit 2264348

Please sign in to comment.