From bbbb3679c394b6aae027f1f5c19c86f686ab4a4a Mon Sep 17 00:00:00 2001 From: magajh Date: Thu, 12 Sep 2024 08:49:36 -0400 Subject: [PATCH] use dev launch --- .github/workflows/test.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ac16d9f..f3870be 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: | @@ -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