Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
60ccc31
PES-2880: Optimize order processing by preventing duplicate handling …
Oct 27, 2025
2a24d72
PES-2880: Add tests for MetaboxesWrapper optimization
Oct 29, 2025
2d37393
PES-2880: Refactor MetaboxesWrapperTest to factory + mock properties
Oct 30, 2025
e187c15
PES-2880: Use intersection type for mock properties
Oct 31, 2025
b1607f8
PES-3006: Add `POINT_TYPE` attribute to tests in CheckoutControllerTe…
Karpec Nov 18, 2025
5fcfbfd
PES-3006: added integration tests reminder
jan-potuznik-z Nov 18, 2025
059c848
PES-2880: Optimize order processing in order detail (#887)
zemekoule Nov 19, 2025
2a9357a
PES-3006: Add `POINT_TYPE` attribute to tests in CheckoutControllerTe…
zemekoule Nov 19, 2025
052dbcf
PES-2905: Update phpstan to 2.1.31 and adjust baseline configuration
Karpec Nov 4, 2025
84d9415
PES-2905: Update composer phpstan dependencies and remove obsolete ph…
Karpec Nov 4, 2025
18ce035
PES-2905: Bump editorconfig-checker to 10.7.0 in composer files
Karpec Nov 4, 2025
62efdb3
PES-2905: Update WP and WC stubs
Karpec Nov 4, 2025
2cb6e6f
PES-2905: Bump phpunit version to 10.5.58
Karpec Nov 4, 2025
d75f72c
PES-2905: composer update
jan-potuznik-z Nov 7, 2025
f414a41
PES-2905: new carrier
jan-potuznik-z Nov 7, 2025
d99cc9a
PES-2905: deps update
jan-potuznik-z Nov 7, 2025
2668a28
PES-2905: scoper update
jan-potuznik-z Nov 18, 2025
c588549
PES-2905: update dependencies (#895)
zemekoule Nov 19, 2025
9cfa7ff
PES-1196: PNG logo replaced with SVG
jan-potuznik-z Dec 10, 2025
428162d
PES-2947: github jobs optimization
jan-potuznik-z Dec 9, 2025
f7af7d7
PES-2947: github jobs optimization (#899)
zemekoule Dec 11, 2025
bbed6ba
PES-1196: PNG logo replaced with SVG (#902)
zemekoule Dec 11, 2025
6d3e979
[ImgBot] Optimize images
ImgBotApp Dec 11, 2025
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
File renamed without changes.
13 changes: 0 additions & 13 deletions .github/run-phpcbf.sh

This file was deleted.

23 changes: 0 additions & 23 deletions .github/run-sniffer.sh

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/composer-normalize.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/run-audit.yml

This file was deleted.

34 changes: 0 additions & 34 deletions .github/workflows/run-ec-check.yml

This file was deleted.

48 changes: 24 additions & 24 deletions .github/workflows/run-parallel-lint.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
name: PHP parallel lint

on:
push:
branches: [ main ]
pull_request:
push:
branches: [ main ]
pull_request:

jobs:
php-parallel-lint:
runs-on: ubuntu-24.04
php-parallel-lint:
runs-on: ubuntu-24.04

strategy:
fail-fast: false
matrix:
php-version: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
strategy:
fail-fast: false
matrix:
php-version: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]

steps:
- name: Checkout code
uses: actions/checkout@v2
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, intl
coverage: none
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, intl
coverage: none

- name: php version
run: php -v
- name: php version
run: php -v

- name: Install php-parallel-lint
run: composer create-project php-parallel-lint/php-parallel-lint ./temp/php-parallel-lint --no-dev
- name: Install php-parallel-lint
run: composer create-project php-parallel-lint/php-parallel-lint ./temp/php-parallel-lint --no-dev

- name: Run PHP parallel lint
run: ./temp/php-parallel-lint/parallel-lint . --exclude ./tests
- name: Run PHP parallel lint
run: ./temp/php-parallel-lint/parallel-lint . --exclude ./tests
34 changes: 0 additions & 34 deletions .github/workflows/run-phpcbf.yml

This file was deleted.

45 changes: 21 additions & 24 deletions .github/workflows/run-phpstan.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,31 @@
name: PHPStan Analysis

on:
push:
branches: [ main ]
pull_request:
push:
branches: [ main ]
pull_request:

jobs:
phpstan:
runs-on: ubuntu-24.04
phpstan:
runs-on: ubuntu-24.04

strategy:
matrix:
php-version: [ '8.1', '8.2', '8.3', '8.4' ]
strategy:
matrix:
php-version: [ '8.1' ]

steps:
- name: Checkout code
uses: actions/checkout@v2
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, intl
coverage: none
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, intl
coverage: none

- name: php version
run: php -v
- name: Install Composer dependencies
run: composer install --no-interaction --no-progress --prefer-dist

- name: Install Composer dependencies
run: composer install

- name: Run PHPStan with PHP version 7.4 - 8.4
run: composer run phpstan:all
- name: Run PHPStan
run: composer run phpstan:all
45 changes: 10 additions & 35 deletions .github/workflows/run-phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,61 +7,34 @@ on:

jobs:
phpunit:
name: PHPUnit (with coverage on PR)
runs-on: ubuntu-24.04
continue-on-error: true

strategy:
matrix:
php-version: [ '8.1' ]

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, intl
coverage: no

- name: php version
run: php -v

- name: Install Composer dependencies
run: composer install

- name: Run PHPUnit
run: composer run tests:unit

# job for code coverage
code-coverage:
runs-on: ubuntu-24.04
if: github.event_name == 'pull_request'

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: '8.1'
extensions: mbstring, intl
coverage: yes
coverage: ${{ github.event_name == 'pull_request' && 'xdebug' || 'none' }}

- name: php version
run: php -v

- name: Install Composer dependencies
run: composer install
run: composer install --no-interaction --no-progress --prefer-dist

- name: Run PHPUnit with code coverage
- name: Run PHPUnit with coverage
if: github.event_name == 'pull_request'
run: |
composer run tests:coverage
cat tests-coverage/coverage.txt > tests-coverage/coverage-summary.txt

- name: Post coverage report as comment in PR
if: github.event_name == 'pull_request'
uses: actions/github-script@v6
with:
script: |
Expand Down Expand Up @@ -97,12 +70,14 @@ jobs:
}

- name: Upload test results
if: github.event_name == 'pull_request'
uses: actions/upload-artifact@v4
with:
name: junit-results
path: ./tests-coverage/log/junit.xml

- name: Upload coverage report
if: github.event_name == 'pull_request'
uses: actions/upload-artifact@v4
with:
name: coverage-report
Expand Down
Loading
Loading