Skip to content

Commit

Permalink
feat: adding tutor nightly workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
felipemontoya committed Mar 8, 2024
1 parent 15698bf commit ae80464
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/integration_tutor_nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Integration Tests with openedx.master

on:
push:
branches:
- 'fmo/**'

jobs:
edx-platform-integration-test:
name: Integration with Tutor nightly
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: eox-tenant

- name: Get Tutor
run: |
pip install virtualenv
virtualenv venv
source venv/bin/activate
git clone --branch=nightly --depth=1 https://github.com/overhangio/tutor.git
chmod 777 tutor -R
pip install -e "./tutor[full]"
- name: Prepare Tutor
run: |
source venv/bin/activate
TUTOR_ROOT="$(pwd)" tutor --version
TUTOR_ROOT="$(pwd)" tutor config save
TUTOR_ROOT="$(pwd)" tutor plugins disable mfe
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 images build openedx # ~11 min
- name: Launch Tutor
run: |
source venv/bin/activate
TUTOR_ROOT="$(pwd)" tutor local launch -I
- name: Run integration tests in lms
run: |
source venv/bin/activate
TUTOR_ROOT="$(pwd)" tutor local run lms bash /openedx/eox-tenant/eox_tenant/test/tutor/integration.sh

0 comments on commit ae80464

Please sign in to comment.