From ce48eef92631446c8f2b2a720ea40f1b49b366ea Mon Sep 17 00:00:00 2001 From: Maria Fernanda Magallanes Zubillaga Date: Fri, 16 Aug 2024 16:41:07 -0500 Subject: [PATCH] test: test --- .github/workflows/integration_test.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration_test.yml b/.github/workflows/integration_test.yml index 8b6f2f8..7e60489 100644 --- a/.github/workflows/integration_test.yml +++ b/.github/workflows/integration_test.yml @@ -7,7 +7,7 @@ jobs: strategy: matrix: # tutor_version: ["Redwood", "Quince", "Palm", "Olive"] - tutor_version: ["<19.0.0", "<18.0.0", "<17.0.0", "<16.0.0"] + tutor_version: ["<17.0.0"] runs-on: ubuntu-latest steps: - name: Checkout @@ -20,6 +20,13 @@ jobs: TUTOR_ROOT="$(pwd)" tutor --version TUTOR_ROOT="$(pwd)" tutor config save + - name: Set up SSH + run: | + mkdir -p ~/.ssh + echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa + chmod 600 ~/.ssh/id_rsa + ssh-keyscan github.com >> ~/.ssh/known_hosts + - name: Run integration tests run: | TUTOR_ROOT="$(pwd)" tutor plugins enable picasso @@ -34,12 +41,13 @@ jobs: echo " repo: git@github.com:eduNEXT/ednx-saas-themes.git" | tee -a ./config.yml echo " version: master" | tee -a ./config.yml echo "PICASSO_EXTRA_COMMANDS:" | tee -a ./config.yml + echo "- tutor plugins update" | tee -a ./config.yml echo "- tutor plugins index add https://raw.githubusercontent.com/eduNEXT/tutor-plugin-indexes/main/" | tee -a ./config.yml echo "- tutor plugins install mfe mfe_extensions aspects" | tee -a ./config.yml echo "- tutor plugins enable mfe mfe_extensions aspects" | tee -a ./config.yml echo "- tutor config save" | tee -a ./config.yml TUTOR_ROOT="$(pwd)" tutor config save - TUTOR_ROOT="$(pwd)" tutor picasso run-extra-commands TUTOR_ROOT="$(pwd)" tutor picasso enable-themes TUTOR_ROOT="$(pwd)" tutor picasso enable-private-packages + TUTOR_ROOT="$(pwd)" tutor picasso run-extra-commands