From 2384aa0e5c5f3b33dbed1a2999ddd37e6c8b9a90 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 23 Feb 2024 09:24:08 +0200 Subject: [PATCH] Also test on Selenium 3 --- .github/workflows/tests.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3d817f91..0a2ff2e8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -38,11 +38,15 @@ jobs: - run: vendor/bin/phpstan analyze tests: - name: Tests + name: "Tests (PHP ${{ matrix.php }}, Selenium ${{ matrix.selenium_version }})" 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' ] + include: + - selenium_version: '3.141.59' + php: '8.3' fail-fast: false steps: @@ -71,7 +75,7 @@ jobs: - name: Start Selenium run: | - docker run --net host --name selenium --volume /dev/shm:/dev/shm --shm-size 2g selenium/standalone-firefox:2.53.1 &> ./logs/selenium.log & + docker run --net host --name selenium --volume /dev/shm:/dev/shm --shm-size 2g selenium/standalone-firefox:${{ matrix.selenium_version }} &> ./logs/selenium.log & - name: Wait for browser & PHP to start run: |