Skip to content

fix: #33 args not found #10

fix: #33 args not found

fix: #33 args not found #10

Workflow file for this run

name: Laravel 10
on:
push:
paths-ignore:
- "**.md"
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: Test
runs-on: ubuntu-latest
container:
image: laravelfans/laravel:10-dev
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: PHPUnit
env:
XDEBUG_MODE: coverage
run: |
composer require orchestra/testbench:^v8 --dev
./vendor/bin/phpunit --coverage-clover coverage.xml --coverage-filter src/ tests/
-
name: Lint
run: |
./vendor/bin/phpcs --standard=PSR12 src/ tests/
./vendor/bin/phpmd . text src/stubs/phpmd.xml
-
name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
name: laravel-10
token: ${{ secrets.CODECOV_TOKEN }}
-
name: install in real Laravel project
run: |
rm -rf laravel-demo
composer create-project --prefer-dist laravel/laravel laravel-demo "10.*"
cd laravel-demo && composer require --dev laravel-fans/lint:dev-${{ github.ref_name }} && php artisan lint:publish
php artisan lint:code --help