Skip to content

Commit b85d039

Browse files
authored
Switch to GitHub actions
1 parent 56b9589 commit b85d039

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ jobs:
1111
runs-on: ${{ matrix.os }}
1212
services:
1313
mongodb:
14-
image: mongo
14+
image: mongo:${{ matrix.mongo }}
1515
ports:
1616
- 27017:27017
17-
command:
1817
strategy:
1918
fail-fast: false
2019
matrix:
2120
os: [ubuntu-latest]
22-
php: ['5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0']
21+
php: ['7.0', '7.1', '7.2', '7.3', '7.4']
22+
mongo: ['3']
2323

2424
steps:
2525
- name: Checkout

tests/data/config.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
$config = [
99
'mongodb' => [
10-
'dsn' => 'mongodb://travis:test@localhost:27017/yii2test',
10+
'dsn' => 'mongodb://localhost:27017/yii2test',
1111
'options' => [],
1212
'driverOptions' => [],
1313
]
@@ -17,4 +17,4 @@
1717
include(__DIR__ . '/config.local.php');
1818
}
1919

20-
return $config;
20+
return $config;

0 commit comments

Comments
 (0)