Skip to content

Commit

Permalink
Also test on Selenium 3
Browse files Browse the repository at this point in the history
  • Loading branch information
aik099 committed Feb 24, 2024
1 parent 4ca4083 commit 88ef030
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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: |
Expand Down

0 comments on commit 88ef030

Please sign in to comment.