-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (39 loc) · 1.23 KB
/
integration-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Integration
on: [pull_request]
jobs:
# integration-test:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# tutor_version: ["<18.0.0"]
# steps:
# - uses: actions/checkout@v4
# with:
# path: eox-hooks
# - uses: ./.github/actions/integration-test
# with:
# tutor_version: ${{ matrix.tutor_version }}
# app_name: "eox-hooks"
# shell_file_to_run: "eox_hooks/tests/tutor/integration.sh"
integration-second-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"]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: eox-hooks
- name: Prepare Tutor & launch
run: |
echo $GITHUB_WORKSPACE
pip install "tutor${{ matrix.tutor_version }}"
TUTOR_ROOT="$(pwd)" tutor --version
TUTOR_ROOT="$(pwd)" tutor config save
ls $(pwd)
ls $(pwd)/eox-hooks
TUTOR_ROOT="$(pwd)" tutor mounts add lms,cms,lms-worker,cms-worker:$(pwd)/eox-hooks:/openedx/eox-hooks
chmod 777 . -R