feat: using a integration tutor as the make target #18
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: Integration Tests | |
on: | |
push: | |
branches: | |
- 'fmo/**' | |
jobs: | |
edx-platform-integration-test: | |
name: Integration with Palm | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
path: src/eox-tenant | |
- name: Prepare Tutor | |
run: | | |
pip install "tutor<17.0.0" | |
TUTOR_ROOT="$(pwd)" tutor config save | |
TUTOR_ROOT="$(pwd)" tutor mounts add lms:$(pwd)/src:/openedx/src | |
chmod 777 src/eox-tenant -R | |
- name: Launch tutor and test | |
run: | | |
TUTOR_ROOT="$(pwd)" tutor local launch -I | |
TUTOR_ROOT="$(pwd)" tutor local run lms bash /openedx/src/eox-tenant/integration.sh |