Skip to content

Commit

Permalink
Merge pull request #8 from vpodorozh/main
Browse files Browse the repository at this point in the history
Fixes for pipeline tests execution
  • Loading branch information
mwr authored Sep 22, 2023
2 parents aa14bfd + f249a80 commit 960b76b
Show file tree
Hide file tree
Showing 6 changed files with 98 additions and 11,537 deletions.
2 changes: 1 addition & 1 deletion .github/actions/composer-cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ runs:
uses: actions/cache@v3
with:
path: vendor
key: ${{ inputs.runner-os }}-php-${{ hashFiles('**/composer.lock') }}
key: ${{ inputs.runner-os }}-php
restore-keys: |
${{ inputs.runner-os }}-php-
5 changes: 3 additions & 2 deletions .github/workflows/test_extension.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Test Extension

on:
workflow_dispatch: { }
push:
branches: [ "main" ]
pull_request:
Expand All @@ -17,7 +18,7 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Validate composer.json and composer.lock
- name: Validate composer.json
run: composer validate

build:
Expand Down Expand Up @@ -57,7 +58,7 @@ jobs:
- name: Setup PHP with Xdebug
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'
coverage: xdebug

- name: PHP Unit
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
vendor
reports
.phpunit.result.cache
composer.lock
.env
.idea
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"magento/module-catalog": "*",
"magento/module-review": "*",
"magento/module-eav": "*",
"magento/module-directory": "*"
"magento/module-directory": "*",
"magento/module-grouped-product": "^100.4"
},
"require-dev": {
"phpunit/phpunit": "~9.5.20",
Expand Down
Loading

0 comments on commit 960b76b

Please sign in to comment.