Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for pipeline tests execution #8

Merged
merged 6 commits into from
Sep 22, 2023
Merged
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
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