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

Github actions skips config file #649

Open
Hoopex opened this issue Jun 8, 2023 · 1 comment
Open

Github actions skips config file #649

Hoopex opened this issue Jun 8, 2023 · 1 comment

Comments

@Hoopex
Copy link

Hoopex commented Jun 8, 2023

Q A
Bug report? yes
Feature request? no
Library version latest

Hello
I use this https://phpinsights.com/continuous-integration.html#github-action to create a CI workflow

jobs:
    phpinsights:
        runs-on: ubuntu-latest
        name: PHP Insights checks
        steps:
            - uses: actions/checkout@v2
            - uses: shivammathur/setup-php@v2
              with:
                  php-version: 8.1
            - run: composer install --prefer-dist --no-progress --no-suggest
            - run: vendor/bin/phpinsights -n --ansi --format=github-action

The only thing i changed is php version to 8.1 but running the script ignores my config file, even when i used --config-path=config/insights.php but still not working.

@pelmered
Copy link

If you use Laravel, you should use the command php artisan insights and not vendor/bin/phpinsights.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants