feat: adding tutor nightly workflow #35
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 Quince, Palm | |
on: | |
push: | |
branches: | |
- 'fmo/**' | |
jobs: | |
edx-platform-integration-test: | |
name: Integration with Tutor | |
strategy: | |
matrix: # quince palm olive | |
# tutor_version: ["<18.0.0", "<17.0.0", "<16.0.0"] | |
tutor_version: ["<18.0.0", "<17.0.0"] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
path: eox-tenant | |
- name: Prepare Tutor & launch | |
run: | | |
pip install "tutor${{ matrix.tutor_version }}" | |
TUTOR_ROOT="$(pwd)" tutor --version | |
TUTOR_ROOT="$(pwd)" tutor config save | |
TUTOR_ROOT="$(pwd)" tutor mounts add lms,cms,lms-worker,cms-worker:$(pwd)/eox-tenant:/openedx/eox-tenant | |
chmod 777 . -R | |
TUTOR_ROOT="$(pwd)" tutor local launch -I | |
- name: Run integration tests in lms | |
run: | | |
TUTOR_ROOT="$(pwd)" tutor local run lms bash /openedx/eox-tenant/eox_tenant/test/tutor/integration.sh |