Skip to content

refac: change import from HttpKernel to DependencyInjection #67

refac: change import from HttpKernel to DependencyInjection

refac: change import from HttpKernel to DependencyInjection #67

Workflow file for this run

name: soap-client-bundle
on:
pull_request: ~
push:
branches:
- main
jobs:
coding-style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- name: php-cs-fixer
run: |
composer install -n --prefer-dist
composer check-style
tests:
strategy:
matrix:
php: [ 8.2, 8.3, 8.4 ]
symfony: [ 5.4, 6.4, 7.4, 8.0 ]
exclude:
- php: 8.2
symfony: 8.0
- php: 8.3
symfony: 8.0
runs-on: ubuntu-latest
env:
SYMFONY_VERSION: ${{ matrix.symfony }}.*
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 2
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: PHPUnit
run: |
composer require --no-update symfony/config=$SYMFONY_VERSION symfony/http-kernel=$SYMFONY_VERSION symfony/dependency-injection=$SYMFONY_VERSION symfony/options-resolver=$SYMFONY_VERSION
composer require --no-update --dev symfony/browser-kit=$SYMFONY_VERSION symfony/debug-bundle=$SYMFONY_VERSION symfony/framework-bundle=$SYMFONY_VERSION symfony/yaml=$SYMFONY_VERSION
composer update --prefer-dist --no-interaction --no-ansi --no-progress
php vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
- name: Upload code coverage scrutinizer
if: ${{ matrix.php == '8.2' && matrix.symfony == '5.4' }}
run: |
composer global require scrutinizer/ocular
php ~/.composer/vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover