test workflow removing tutor plugin #23
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
name: Tutor Open edX CI | |
on: [push] | |
jobs: | |
setup-tutor: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y python3 python3-pip curl | |
pip3 install tutor | |
- name: Launch Tutor | |
run: | | |
tutor config save | |
tutor local launch -I | |
- name: Check Open edX LMS heartbeat | |
run: | | |
until curl -sSf http://local.edly.io/heartbeat; do | |
echo "Waiting for LMS to be ready..." | |
sleep 5 | |
done | |
echo "LMS is up and running!" |