From c91a111cd4bc7711b60bc93cf5c01e36bfe72c96 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 16 Feb 2024 08:45:01 +0200 Subject: [PATCH] Display coverage status in the build name --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0fb8a4c..329d5a7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -18,7 +18,7 @@ defaults: jobs: tests: - name: Tests (PHP ${{ matrix.php }}) + name: "PHP ${{ matrix.php }} (with coverage: ${{ matrix.with_coverage }})" runs-on: ubuntu-20.04 strategy: matrix: @@ -81,7 +81,7 @@ jobs: - name: Upload Coverage to CodeCov if: "${{ matrix.with_coverage == true }}" - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v4 - name: Upload Coverage to Scrutinizer CI (PHP < 8.0) if: "${{ matrix.php < '8.0' && matrix.with_coverage == true }}"