Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/actions/setup-magento-plugin/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ inputs:
default: "builtin"
required: false
description: "Which MySQL version should be used"
extension-ref:
default: ""
required: false
description: "Which SwagMigrationMagento ref should be used"
platform-branch:
default: "trunk"
required: false
Expand Down Expand Up @@ -42,6 +46,7 @@ runs:
uses: shopware/github-actions/setup-extension@main
with:
extensionName: SwagMigrationMagento
extensionRef: ${{ inputs.extension-ref }}
install: true
install-admin: true
shopwareVersion: ${{ inputs.platform-branch }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/action-phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@ jobs:
- name: Checkout SwagMigrationMagento
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.number && format('refs/pull/{0}/merge', github.event.pull_request.number) || github.sha }}
path: custom/plugins/${{ inputs.extension_name }}

- name: Setup SwagMigrationMagento
uses: ./custom/plugins/SwagMigrationMagento/.github/actions/setup-magento-plugin
with:
php-version: ${{ matrix.php_version }}
mysql-version: ${{ matrix.mysql_image }}
extension-ref: ${{ github.event.pull_request.number && format('refs/pull/{0}/merge', github.event.pull_request.number) || github.sha }}
platform-branch: ${{ inputs.platform_branch }}

- name: Run PHPUnit
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ jobs:
uses: ./.github/workflows/action-phpunit.yml
with:
extension_name: ${{ github.event.repository.name }}
platform_branch: trunk
platform_branch: 12c6c71cdbcc1600107aa79686c91479f40b895c
Loading