Skip to content

Commit

Permalink
Merge pull request #12 from alexpott/fix-php-version-testing
Browse files Browse the repository at this point in the history
Fix PHP version testing
  • Loading branch information
longwave authored Jul 4, 2024
2 parents 7b37937 + e0ad52e commit cc9c601
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/Tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,22 @@ jobs:

strategy:
matrix:
php: [ '7.4', '8.0', '8.1', '8.2' ]
php: [ '8.0', '8.3' ]
fail-fast: false

steps:
- uses: actions/checkout@v3

- uses: ddev/github-action-setup-ddev@v1
with:
autostart: false

- name: Setup PHP Version
run: ddev config --php-version ${{ matrix.php }}

- name: Start ddev
run: ddev start

- name: Install dependencies
run: ddev composer install

Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"homepage": "https://www.lullabot.com/",
"license": "Apache-2.0",
"require": {
"ext-curl": "*"
"ext-curl": "*",
"php": ">=8.0.0"
},
"require-dev": {
"phpunit/phpunit": "^8.5 || ^9.5"
Expand Down
1 change: 1 addition & 0 deletions test/Test/WebDriver/ChromeDriverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class ChromeDriverTest extends WebDriverTestBase
{
protected $testWebDriverRootUrl = 'http://localhost:9515';
protected $testWebDriverName = 'chromedriver';
protected $status = null;

protected function setUp(): void
{
Expand Down
1 change: 1 addition & 0 deletions test/Test/WebDriver/GeckoDriverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class GeckoDriverTest extends WebDriverTestBase
{
protected $testWebDriverRootUrl = 'http://localhost:4444';
protected $testWebDriverName = 'geckodriver';
protected $status = null;

protected function setUp(): void
{
Expand Down

0 comments on commit cc9c601

Please sign in to comment.