diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index fa91d8e..0fb9f3d 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -148,7 +148,7 @@ jobs: run: composer audit unit-tests-linux: - name: "Unit tests, PHP ${{ matrix.php-versions }}, ${{ matrix.operating-system }}" + name: "Unit tests, PHP ${{ matrix.php-versions }}, ${{ matrix.jwt-version }}, ${{ matrix.operating-system }}" runs-on: ${{ matrix.operating-system }} needs: [linter, quality, security] strategy: @@ -199,7 +199,7 @@ jobs: run: composer install --no-progress --prefer-dist --optimize-autoloader - name: Run unit tests with coverage - if: ${{ matrix.php-versions == '8.3' }} + if: ${{ matrix.php-versions == '8.3' && matrix.jwt-version == '^4.0' }} run: vendor/bin/phpunit - name: Run unit tests (no coverage) @@ -207,7 +207,7 @@ jobs: run: vendor/bin/phpunit --no-coverage - name: Save coverage data - if: ${{ matrix.php-versions == '8.3' }} + if: ${{ matrix.php-versions == '8.3' && matrix.jwt-version == '^4.0' }} uses: actions/upload-artifact@v4 with: name: coverage-data @@ -230,7 +230,7 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-versions }} - extensions: ctype, date, dom, filter, hash, mbstring, openssl, pcre, soap, spl, xml + extensions: ctype, date, dom, filter, hash, mbstring, openssl, pcre, soap, spl, xml, sodium tools: composer ini-values: error_reporting=E_ALL coverage: none