mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
Extract architecture tests to separate build
This commit is contained in:
parent
70ff012598
commit
2981d9ffa6
1 changed files with 31 additions and 0 deletions
31
.github/workflows/application.yml
vendored
31
.github/workflows/application.yml
vendored
|
|
@ -109,6 +109,37 @@ jobs:
|
|||
run: vendor/bin/phpstan analyse
|
||||
if: always() && steps.end-of-setup.outcome == 'success'
|
||||
|
||||
architecture-tests:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
name: "Architecture tests (PHPArkitect)"
|
||||
|
||||
timeout-minutes: 10
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
php: ["7.4", "8.0"]
|
||||
|
||||
steps:
|
||||
-
|
||||
uses: actions/checkout@v2
|
||||
|
||||
-
|
||||
name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: "${{ matrix.php }}"
|
||||
ini-values: date.timezone=Europe/Warsaw, opcache.enable=1, opcache.enable_cli=1, opcache.memory_consumption=256, opcache.max_accelerated_files=32531, opcache.interned_strings_buffer=8, opcache.validate_timestamps=0, opcache.save_comments=1, opcache.fast_shutdown=0
|
||||
extensions: intl, gd, opcache, mysql, pdo_mysql, :xdebug
|
||||
tools: symfony
|
||||
coverage: none
|
||||
|
||||
-
|
||||
name: Install PHP dependencies
|
||||
run: composer update --no-interaction --no-scripts
|
||||
id: end-of-setup
|
||||
|
||||
-
|
||||
name: Run PHPArkitect
|
||||
run: vendor/phparkitect/phparkitect/bin-stub/phparkitect check
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue