From c6bc9fdacb9f3388e67358c515492527a8a8093e Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Wed, 29 Jan 2025 17:21:18 +0700 Subject: [PATCH] on Test --- .github/workflows/code_analysis.yaml | 5 ++--- .github/workflows/tests.yaml | 6 +++++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/code_analysis.yaml b/.github/workflows/code_analysis.yaml index 98e4ab9d..e9db4039 100644 --- a/.github/workflows/code_analysis.yaml +++ b/.github/workflows/code_analysis.yaml @@ -15,13 +15,12 @@ jobs: strategy: fail-fast: false matrix: - php-versions: ['8.2', '8.3', '8.4'] actions: - name: 'Active Classes' run: vendor/bin/class-leak check config src rules --ansi --skip-suffix "Rector" --skip-type "\Rector\Set\Contract\SetProviderInterface" - name: ${{ matrix.actions.name }} (${{ matrix.php-versions }}) + name: ${{ matrix.actions.name }} runs-on: ubuntu-latest timeout-minutes: 10 @@ -31,7 +30,7 @@ jobs: - uses: shivammathur/setup-php@v2 with: - php-version: ${{ matrix.php-versions }} + php-version: 8.2 coverage: none - uses: "ramsey/composer-install@v2" diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index f6bc64ba..d384dfd3 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -12,6 +12,10 @@ env: jobs: tests: + strategy: + fail-fast: false + matrix: + php-versions: ['8.2', '8.3', '8.4'] runs-on: ubuntu-latest name: Tests @@ -21,7 +25,7 @@ jobs: - uses: shivammathur/setup-php@v2 with: - php-version: 8.2 + php-version: ${{ matrix.php-versions }} coverage: none - uses: "ramsey/composer-install@v1"