Skip to content

Commit

Permalink
feat(o10r-symfony-template-145): Upgrade MacPaw/doctrine-aws-iam-rds-…
Browse files Browse the repository at this point in the history
…auth-bundle for symfony 7 support
  • Loading branch information
serhiidonii committed May 28, 2024
1 parent 2b3404d commit bd41419
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 15 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
symfony-versions: '^6.4'
coverage: 'none'

name: PHP ${{ matrix.php }} Symfony ${{ matrix.symfony-versions }} ${{ matrix.description }}
name: Test with PHP ${{ matrix.php }} Symfony ${{ matrix.symfony-versions }} ${{ matrix.description }}
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -37,6 +37,7 @@ jobs:
with:
php-version: ${{ matrix.php }}
coverage: ${{ matrix.coverage }}
extensions: xdebug

- name: Add PHPUnit matcher
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
Expand Down Expand Up @@ -67,5 +68,5 @@ jobs:
run: composer install

- name: Run PHPUnit tests
run: vendor/bin/phpunit
run: XDEBUG_MODE=coverage vendor/bin/phpunit
if: matrix.coverage == 'none'
17 changes: 4 additions & 13 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -15,35 +15,26 @@
<server name="SYMFONY_PHPUNIT_VERSION" value="10"/>
<server name="RDS_TOKEN_LIFETIME_MINUTES" value="10"/>
<server name="RDS_TOKEN_CACHE_LIFETIME_SECONDS" value="3600"/>
<server name="KERNEL_CLASS" value="App\Kernel"/>
<server name="APP_SECRET" value="someString!"/>
<server name="AWS_REGION" value="us-west-1"/>
<server name="USE_IAM" value="true"/>
<server name="KERNEL_CLASS" value="App\Kernel"/>
<!-- https://github.com/phpDocumentor/TypeResolver/issues/148#issuecomment-1005542099 -->
<server name="SYMFONY_PHPUNIT_REQUIRE" value="phpdocumentor/type-resolver:1.6"/>
</php>
<testsuites>
<testsuite name="unit">
<directory>tests/PHPUnit/Unit</directory>
<directory>tests/Unit</directory>
</testsuite>
<testsuite name="functional">
<directory>tests/PHPUnit/Functional</directory>
</testsuite>
<testsuite name="integration">
<directory>tests/PHPUnit/Integration</directory>
<directory>tests/Functional</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory>./src</directory>
</include>
<exclude>
<directory suffix="Exception.php">src</directory>
<directory>src/Infrastructure/Migrations</directory>
<directory>src/Infrastructure/DataFixtures</directory>
<directory>src/Infrastructure/Exception</directory>
<directory>src/Component/DB/Exception</directory>
<directory>src/Domain/Exception</directory>
<file>src/Kernel.php</file>
</exclude>
</source>

Expand Down

0 comments on commit bd41419

Please sign in to comment.