diff --git a/.github/workflows/codestyle.yml b/.github/workflows/codestyle.yml index c5638a2..6385049 100644 --- a/.github/workflows/codestyle.yml +++ b/.github/workflows/codestyle.yml @@ -26,15 +26,6 @@ jobs: php-version: ${{ matrix.php }} - name: Validate Composer run: composer validate - - name: Get Composer Cache Directory - id: composer-cache - run: echo "::set-output name=dir::$(composer config cache-files-dir)" - - name: Restore Composer Cache - uses: actions/cache@v3 - with: - path: ${{ steps.composer-cache.outputs.dir }} - key: ${{ runner.os }}-${{ matrix.php }}-composer-v2-${{ hashFiles('**/composer.json') }} - restore-keys: ${{ runner.os }}-${{ matrix.php }}-composer-v2- - name: Install Dependencies uses: nick-invision/retry@v2 with: diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 67314ad..939d4a2 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -26,24 +26,5 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} - - name: Validate Composer - run: composer validate - - name: Get Composer Cache Directory - id: composer-cache - run: echo "::set-output name=dir::$(composer config cache-files-dir)" - - name: Restore Composer Cache - uses: actions/cache@v3 - with: - path: ${{ steps.composer-cache.outputs.dir }} - key: ${{ runner.os }}-${{ matrix.php }}-composer-v2-${{ hashFiles('**/composer.json') }} - restore-keys: ${{ runner.os }}-${{ matrix.php }}-composer-v2- - - name: Install Dependencies - uses: nick-invision/retry@v2 - with: - timeout_minutes: 5 - max_attempts: 5 - command: composer update --prefer-dist --no-interaction --no-progress - name: Composer Audit run: composer audit - - name: Security Advisories - run: composer require --dev roave/security-advisories:dev-latest diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 9be2719..3fccdb7 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -26,15 +26,6 @@ jobs: php-version: ${{ matrix.php }} - name: Validate Composer run: composer validate - - name: Get Composer Cache Directory - id: composer-cache - run: echo "::set-output name=dir::$(composer config cache-files-dir)" - - name: Restore Composer Cache - uses: actions/cache@v3 - with: - path: ${{ steps.composer-cache.outputs.dir }} - key: ${{ runner.os }}-${{ matrix.php }}-composer-v2-${{ hashFiles('**/composer.json') }} - restore-keys: ${{ runner.os }}-${{ matrix.php }}-composer-v2- - name: Install Dependencies uses: nick-invision/retry@v2 with: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 17ea228..3deff09 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -31,20 +31,13 @@ jobs: ini-values: "memory_limit=-1" - name: Validate Composer run: composer validate - - name: Get Composer Cache Directory - id: composer-cache - run: echo "::set-output name=dir::$(composer config cache-files-dir)" - - name: Restore Composer Cache - uses: actions/cache@v3 - with: - path: ${{ steps.composer-cache.outputs.dir }} - key: ${{ runner.os }}-${{ matrix.php }}-composer-v2-${{ hashFiles('**/composer.json') }} - restore-keys: ${{ runner.os }}-${{ matrix.php }}-composer-v2- - name: Install Dependencies uses: nick-invision/retry@v2 with: timeout_minutes: 5 max_attempts: 5 - command: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress - - name: Execute Tests - run: composer test + command: composer update --${{ matrix.stability }} --ignore-platform-reqs --prefer-dist --no-interaction --no-progress + - name: Execute Unit Tests + run: composer test:unit + - name: Execute Functional Tests + run: composer test:functional