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 }}