mirror of
https://github.com/graycoreio/github-actions-magento2.git
synced 2026-06-08 19:46:41 +00:00
09d4f1e097
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
48 lines
1.2 KiB
YAML
48 lines
1.2 KiB
YAML
name: Installation Test
|
|
|
|
on:
|
|
workflow_dispatch: {}
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- "_test/demo-package/**"
|
|
- "installation-test/**"
|
|
- ".github/workflows/_internal-install.yaml"
|
|
- "supported-version/**"
|
|
- "!(**/*.md)"
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- "_test/demo-package/**"
|
|
- "installation-test/**"
|
|
- ".github/workflows/_internal-install.yaml"
|
|
- "supported-version/**"
|
|
- "!(**/*.md)"
|
|
|
|
jobs:
|
|
compute_matrix:
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
matrix: ${{ steps.supported-version.outputs.matrix }}
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: ./supported-version
|
|
id: supported-version
|
|
- run: echo ${{ steps.supported-version.outputs.matrix }}
|
|
|
|
install-test:
|
|
needs: compute_matrix
|
|
strategy:
|
|
matrix: ${{ fromJSON(needs.compute_matrix.outputs.matrix) }}
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: ./installation-test
|
|
with:
|
|
composer_version: ${{ matrix.composer }}
|
|
php_version: ${{ matrix.php }}
|
|
magento_version: ${{ matrix.magento }}
|
|
package_name: graycore/magento2-demo-package
|
|
source_folder: $GITHUB_WORKSPACE/_test/demo-package |