From 3aec2b26ef9022a635ac51812c66da58babf3ff6 Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Wed, 28 Jan 2026 01:30:45 +0000 Subject: [PATCH] chore: runs only unit tests --- .github/workflows/static.yml | 44 ------------------------------------ composer.json | 9 -------- 2 files changed, 53 deletions(-) delete mode 100644 .github/workflows/static.yml diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml deleted file mode 100644 index 3373eafb..00000000 --- a/.github/workflows/static.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: Static Analysis - -on: - push: - pull_request: - schedule: - - cron: '0 0 * * *' - -jobs: - static: - if: github.event_name != 'schedule' || github.repository == 'pestphp/pest' - name: Static Tests - - runs-on: ubuntu-latest - strategy: - fail-fast: true - matrix: - dependency-version: [prefer-lowest, prefer-stable] - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: 8.2 - tools: composer:v2 - coverage: none - - - name: Install Dependencies - run: composer update --prefer-stable --no-interaction --no-progress --ansi - - # - name: Type Check - # run: composer test:type:check - - - name: Type Coverage - run: composer test:type:coverage - - - name: Refacto - run: composer test:refacto - - - name: Style - run: composer test:lint diff --git a/composer.json b/composer.json index 5b628c07..cd68feee 100644 --- a/composer.json +++ b/composer.json @@ -71,21 +71,12 @@ ], "scripts": { "refacto": "rector", - "lint": "pint", - "test:refacto": "rector --dry-run", - "test:lint": "pint --test", - "test:type:check": "phpstan analyse --ansi --memory-limit=-1 --debug", - "test:type:coverage": "php -d memory_limit=-1 bin/pest --type-coverage --min=100", "test:unit": "php bin/pest --colors=always --exclude-group=integration --compact", "test:inline": "php bin/pest --colors=always --configuration=phpunit.inline.xml", "test:parallel": "php bin/pest --colors=always --exclude-group=integration --parallel --processes=3", "test:integration": "php bin/pest --colors=always --group=integration -v", "update:snapshots": "REBUILD_SNAPSHOTS=true php bin/pest --colors=always --update-snapshots", "test": [ - "@test:refacto", - "@test:lint", - "@test:type:check", - "@test:type:coverage", "@test:unit", "@test:parallel", "@test:integration"