Skip to content

Commit

Permalink
use dev launch
Browse files Browse the repository at this point in the history
  • Loading branch information
magajh committed Sep 12, 2024
1 parent c37a0bd commit bbbb367
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ jobs:
# run: |
# tutor images build openedx

- name: Configure LMS to be externally accessible
run: |
tutor config save --set LMS_HOST=0.0.0.0
# - name: Configure LMS to be externally accessible
# run: |
# tutor config save --set LMS_HOST=0.0.0.0

- name: Start Tutor
run: |
tutor local launch -I
tutor dev launch -I
- name: Install additional LMS requirements
run: |
Expand All @@ -45,10 +45,15 @@ jobs:
run: |
sleep 60 # Adjust the sleep time as necessary for services to be fully ready
- name: Get LMS_HOST value
id: lms_host
run: |
echo "LMS_HOST=$(tutor config printvalue LMS_HOST)" >> $GITHUB_ENV
- name: Check LMS logs
run: |
tutor local logs lms --tail=100 # Retrieve the last 100 lines of LMS logs
- name: Check LMS heartbeat endpoint
run: |
curl -f http://0.0.0.0:8000/heartbeat
curl -f http://$LMS_HOST:8000/heartbeat

0 comments on commit bbbb367

Please sign in to comment.