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

Check PSR-4 mapping in CI #33

Merged
merged 2 commits into from
Jun 17, 2024
Merged
Changes from 1 commit
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
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ jobs:
uses: ramsey/composer-install@v3
with:
dependency-versions: ${{ matrix.dependencies }}
- name: Check PSR-4 mapping
run: composer dump-autoload --dev --optimize --strict-psr
- name: Set default branch for tests
run: git config --global init.defaultBranch main
- name: Run Tests
Expand All @@ -65,10 +67,10 @@ jobs:
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
run: |
composer config --no-plugins allow-plugins.infection/extension-installer true
composer req infection/infection -W
composer require infection/infection --update-with-all-dependencies
IonBazan marked this conversation as resolved.
Show resolved Hide resolved
vendor/bin/infection --ignore-msi-with-no-mutations --min-covered-msi=100 --min-msi=100 -s -j4 --only-covered
- name: Run phpstan
if: ${{ matrix.php-versions == 8.3 && matrix.operating-system == 'ubuntu-latest' }}
run: |
composer req phpstan/phpstan
composer require phpstan/phpstan --dev
IonBazan marked this conversation as resolved.
Show resolved Hide resolved
vendor/bin/phpstan
Loading