Skip to content

Commit 6bb8c32

Browse files
committed
Test oci8 & pdo_oci in CI
1 parent de774d9 commit 6bb8c32

File tree

5 files changed

+18
-3
lines changed

5 files changed

+18
-3
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Create Oracle container
2+
runs:
3+
using: composite
4+
steps:
5+
- shell: bash
6+
run: |
7+
set -x
8+
docker run \
9+
-e "ORACLE_PASSWORD=pass" \
10+
-p 1521:1521 \
11+
--name oracle \
12+
-h oracle \
13+
-d gvenzl/oracle-xe:18

.github/actions/test-linux/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ runs:
1616
export PDO_MYSQL_TEST_PASS=root
1717
export PDO_DBLIB_TEST_DSN="dblib:host=127.0.0.1;dbname=master;version=7.0"
1818
export PDO_DBLIB_TEST_USER="pdo_test"
19-
export PDO_DBLIB_TEST_PASS="password"
19+
export PHP_OCI8_TEST_USER="system"
20+
export PHP_OCI8_TEST_PASS="pass"
21+
export PHP_OCI8_TEST_DB="oracle/XE"
2022
export SKIP_IO_CAPTURE_TESTS=1
2123
sapi/cli/php run-tests.php -P -q ${{ inputs.runTestsParameters }} \
2224
-j$(/usr/bin/nproc) \

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
with:
4848
ref: ${{ matrix.branch.ref }}
4949
- name: Create mssql container
50-
uses: ./.github/actions/mssql
50+
uses: ./.github/actions/setup-mssql
5151
- name: apt
5252
uses: ./.github/actions/apt-x64
5353
- name: ./configure

.github/workflows/push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: git checkout
3434
uses: actions/checkout@v2
3535
- name: Create mssql container
36-
uses: ./.github/actions/mssql
36+
uses: ./.github/actions/setup-mssql
3737
- name: apt
3838
uses: ./.github/actions/apt-x64
3939
- name: ./configure

0 commit comments

Comments
 (0)