From a2a389c0944eeba04d41ced75ed6803ee9f08d7d Mon Sep 17 00:00:00 2001 From: Felipe Montoya Date: Fri, 8 Mar 2024 14:55:42 -0500 Subject: [PATCH] fix: 777 permissions on the downloaded tutor --- .github/workflows/integration.yml | 36 ------------------- .../workflows/integration_tutor_nightly.yml | 1 + 2 files changed, 1 insertion(+), 36 deletions(-) delete mode 100644 .github/workflows/integration.yml diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml deleted file mode 100644 index 3062bc5d..00000000 --- a/.github/workflows/integration.yml +++ /dev/null @@ -1,36 +0,0 @@ -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: Get Tutor - run: | - pip install "tutor${{ matrix.tutor_version }}" - - - name: Prepare Tutor & launch - run: | - 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 diff --git a/.github/workflows/integration_tutor_nightly.yml b/.github/workflows/integration_tutor_nightly.yml index 62505ca0..90921fbd 100644 --- a/.github/workflows/integration_tutor_nightly.yml +++ b/.github/workflows/integration_tutor_nightly.yml @@ -18,6 +18,7 @@ jobs: - name: Get Tutor run: | git clone --branch=nightly --depth=1 https://github.com/overhangio/tutor.git + chmod 777 tutor -R pip install -e "./tutor[full]" - name: Prepare Tutor & launch