From e778774434eb514fe77bbca5712d0c1abab9c33a Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 15 Nov 2024 16:32:50 +0200 Subject: [PATCH] Collect coverage only once per Selenium Server version (#402) Collect coverage only once per Selenium Server version --- .github/workflows/tests.yml | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d363086..86e57fe 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -38,15 +38,20 @@ jobs: - run: vendor/bin/phpstan analyze tests: - name: "Tests (PHP ${{ matrix.php }}, Selenium ${{ matrix.selenium_version }})" + name: "Tests (PHP ${{ matrix.php }}, Selenium ${{ matrix.selenium_version }})${{ matrix.with_coverage == true && ' with coverage' || ''}}" runs-on: ubuntu-20.04 strategy: matrix: selenium_version: [ '2.53.1' ] - php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ] + php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2' ] + with_coverage: [ false ] include: + - selenium_version: '2.53.1' + php: '8.3' + with_coverage: true - selenium_version: '3.141.59' php: '8.3' + with_coverage: true fail-fast: false steps: @@ -82,7 +87,8 @@ jobs: while ! nc -z localhost 4444