Skip to content

Commit cc9c601

Browse files
authored
Merge pull request #12 from alexpott/fix-php-version-testing
Fix PHP version testing
2 parents 7b37937 + e0ad52e commit cc9c601

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

.github/workflows/Tests.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,22 @@ jobs:
1717

1818
strategy:
1919
matrix:
20-
php: [ '7.4', '8.0', '8.1', '8.2' ]
20+
php: [ '8.0', '8.3' ]
2121
fail-fast: false
2222

2323
steps:
2424
- uses: actions/checkout@v3
2525

2626
- uses: ddev/github-action-setup-ddev@v1
27+
with:
28+
autostart: false
2729

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

33+
- name: Start ddev
34+
run: ddev start
35+
3136
- name: Install dependencies
3237
run: ddev composer install
3338

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"homepage": "https://www.lullabot.com/",
1212
"license": "Apache-2.0",
1313
"require": {
14-
"ext-curl": "*"
14+
"ext-curl": "*",
15+
"php": ">=8.0.0"
1516
},
1617
"require-dev": {
1718
"phpunit/phpunit": "^8.5 || ^9.5"

test/Test/WebDriver/ChromeDriverTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ class ChromeDriverTest extends WebDriverTestBase
3737
{
3838
protected $testWebDriverRootUrl = 'http://localhost:9515';
3939
protected $testWebDriverName = 'chromedriver';
40+
protected $status = null;
4041

4142
protected function setUp(): void
4243
{

test/Test/WebDriver/GeckoDriverTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ class GeckoDriverTest extends WebDriverTestBase
3737
{
3838
protected $testWebDriverRootUrl = 'http://localhost:4444';
3939
protected $testWebDriverName = 'geckodriver';
40+
protected $status = null;
4041

4142
protected function setUp(): void
4243
{

0 commit comments

Comments
 (0)