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>
35 lines
645 B
YAML
35 lines
645 B
YAML
name: Unit Test
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- "_test/demo-package/**"
|
|
- ".github/workflows/_internal-unit.yaml"
|
|
- "unit-test/**"
|
|
- "!(**/*.md)"
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- "_test/demo-package/**"
|
|
- ".github/workflows/_internal-unit.yaml"
|
|
- "unit-test/**"
|
|
- "!(**/*.md)"
|
|
|
|
jobs:
|
|
unit-test:
|
|
strategy:
|
|
matrix:
|
|
php_version:
|
|
- 7.4
|
|
- 8.1
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: ./unit-test
|
|
with:
|
|
source_folder: _test/demo-package
|
|
php_version: ${{ matrix.php_version }}
|