From 753c247bad372ed2a840e2aa91ecfa4044b35ff2 Mon Sep 17 00:00:00 2001 From: Simey Lameze Date: Mon, 22 Jul 2024 11:21:10 +0800 Subject: [PATCH] MDL-82250 core: add web installer test workflow --- .github/workflows/web-installer-test.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/web-installer-test.yml diff --git a/.github/workflows/web-installer-test.yml b/.github/workflows/web-installer-test.yml new file mode 100644 index 00000000000..187f6e467c8 --- /dev/null +++ b/.github/workflows/web-installer-test.yml @@ -0,0 +1,23 @@ +name: Web Installer Testing + +on: + workflow_dispatch: + +jobs: + InstallationTest: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest] + php: [8.1, 8.3] + steps: + - name: Construct repository URL + run: echo "REPOSITORY_URL=${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}" >> $GITHUB_ENV + shell: bash + + - uses: moodlehq/moodle-webinstaller-test@main + with: + repository: ${{ env.REPOSITORY_URL }} + branch: ${{ github.ref_name }} + php: ${{ matrix.php }}