Skip to content

Commit f8892fc

Browse files
committed
Dropping Oracle
1 parent 229ae22 commit f8892fc

File tree

1 file changed

+53
-96
lines changed

1 file changed

+53
-96
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 53 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ jobs:
6868
php-version: "${{ matrix.php-version }}"
6969
extensions: ""
7070
coverage: "pcov"
71+
tools: "cs2pr"
7172

7273
- name: "Cache dependencies installed with composer"
7374
uses: "actions/cache@v1"
@@ -134,50 +135,6 @@ jobs:
134135
- name: "Upload Code Coverage"
135136
uses: "codecov/codecov-action@v1"
136137

137-
phpunit-mariadb103:
138-
name: "PHPUnit on MariaDB 10.3"
139-
runs-on: "ubuntu-latest"
140-
141-
strategy:
142-
matrix:
143-
php-version:
144-
- "7.4"
145-
146-
services:
147-
mysql:
148-
image: "mariadb:10.3"
149-
env:
150-
MYSQL_ROOT_PASSWORD: root
151-
ports:
152-
- "3306:3306"
153-
154-
steps:
155-
- name: "Checkout"
156-
uses: "actions/checkout@v2"
157-
158-
- name: "Install PHP"
159-
uses: "shivammathur/setup-php@v2"
160-
with:
161-
php-version: "${{ matrix.php-version }}"
162-
extensions: ""
163-
coverage: "pcov"
164-
165-
- name: "Cache dependencies installed with composer"
166-
uses: "actions/cache@v1"
167-
with:
168-
path: "~/.composer/cache"
169-
key: "php-${{ matrix.php-version }}-composer-locked-${{ hashFiles('composer.lock') }}"
170-
restore-keys: "php-${{ matrix.php-version }}-composer-locked-"
171-
172-
- name: "Install dependencies with composer"
173-
run: "composer install --no-interaction --no-progress --no-suggest"
174-
175-
- name: "Run PHPUnit"
176-
run: "vendor/bin/phpunit -c phpunit.mariadb.xml --coverage-clover=coverage.xml"
177-
178-
- name: "Upload Code Coverage"
179-
uses: "codecov/codecov-action@v1"
180-
181138
phpunit-mariadb105:
182139
name: "PHPUnit on MariaDB 10.5"
183140
runs-on: "ubuntu-latest"
@@ -222,55 +179,55 @@ jobs:
222179
- name: "Upload Code Coverage"
223180
uses: "codecov/codecov-action@v1"
224181

225-
phpunit-oci8:
226-
name: "PHPUnit on OCI8"
227-
runs-on: "ubuntu-latest"
228-
229-
strategy:
230-
matrix:
231-
php-version:
232-
- "7.4"
233-
234-
services:
235-
oracle:
236-
image: "wnameless/oracle-xe-11g-r2"
237-
ports:
238-
- "1521:1521"
239-
240-
steps:
241-
- name: "Checkout"
242-
uses: "actions/checkout@v2"
243-
244-
- name: "Install PHP"
245-
uses: "shivammathur/setup-php@v2"
246-
with:
247-
php-version: "${{ matrix.php-version }}"
248-
extensions: "oci8"
249-
coverage: "pcov"
250-
251-
- name: "Cache dependencies installed with composer"
252-
uses: "actions/cache@v1"
253-
with:
254-
path: "~/.composer/cache"
255-
key: "php-${{ matrix.php-version }}-composer-locked-${{ hashFiles('composer.lock') }}"
256-
restore-keys: "php-${{ matrix.php-version }}-composer-locked-"
257-
258-
- name: "Setup Oracle user"
259-
run: |
260-
docker exec $(docker ps -aqf "ancestor=wnameless/oracle-xe-11g-r2") bash -c "export PS1=1 && source /etc/bash.bashrc && source /root/.bashrc && sqlplus -L -S sys/oracle AS SYSDBA <<<SQL \
261-
create user tdbm_admin identified by tdbm quota unlimited on USERS default tablespace USERS; \
262-
GRANT CONNECT,RESOURCE TO tdbm_admin; \
263-
GRANT dba TO tdbm_admin WITH ADMIN OPTION; \
264-
grant create session, create procedure, create type, create table, create sequence, create view to tdbm_admin; \
265-
grant select any dictionary to tdbm_admin; \
266-
exit \
267-
SQL"
268-
269-
- name: "Install dependencies with composer"
270-
run: "composer install --no-interaction --no-progress --no-suggest"
271-
272-
- name: "Run PHPUnit"
273-
run: "vendor/bin/phpunit -c phpunit.oracle.xml --coverage-clover=coverage.xml"
274-
275-
- name: "Upload Code Coverage"
276-
uses: "codecov/codecov-action@v1"
182+
# phpunit-oci8:
183+
# name: "PHPUnit on OCI8"
184+
# runs-on: "ubuntu-latest"
185+
#
186+
# strategy:
187+
# matrix:
188+
# php-version:
189+
# - "7.4"
190+
#
191+
# services:
192+
# oracle:
193+
# image: "wnameless/oracle-xe-11g-r2"
194+
# ports:
195+
# - "1521:1521"
196+
#
197+
# steps:
198+
# - name: "Checkout"
199+
# uses: "actions/checkout@v2"
200+
#
201+
# - name: "Install PHP"
202+
# uses: "shivammathur/setup-php@v2"
203+
# with:
204+
# php-version: "${{ matrix.php-version }}"
205+
# extensions: "oci8"
206+
# coverage: "pcov"
207+
#
208+
# - name: "Cache dependencies installed with composer"
209+
# uses: "actions/cache@v1"
210+
# with:
211+
# path: "~/.composer/cache"
212+
# key: "php-${{ matrix.php-version }}-composer-locked-${{ hashFiles('composer.lock') }}"
213+
# restore-keys: "php-${{ matrix.php-version }}-composer-locked-"
214+
#
215+
# - name: "Setup Oracle user"
216+
# run: |
217+
# docker exec $(docker ps -aqf "ancestor=wnameless/oracle-xe-11g-r2") bash -c "export PS1=1 && source /etc/bash.bashrc && source /root/.bashrc && sqlplus -L -S sys/oracle AS SYSDBA <<<SQL \
218+
# create user tdbm_admin identified by tdbm quota unlimited on USERS default tablespace USERS; \
219+
# GRANT CONNECT,RESOURCE TO tdbm_admin; \
220+
# GRANT dba TO tdbm_admin WITH ADMIN OPTION; \
221+
# grant create session, create procedure, create type, create table, create sequence, create view to tdbm_admin; \
222+
# grant select any dictionary to tdbm_admin; \
223+
# exit \
224+
# SQL"
225+
#
226+
# - name: "Install dependencies with composer"
227+
# run: "composer install --no-interaction --no-progress --no-suggest"
228+
#
229+
# - name: "Run PHPUnit"
230+
# run: "vendor/bin/phpunit -c phpunit.oracle.xml --coverage-clover=coverage.xml"
231+
#
232+
# - name: "Upload Code Coverage"
233+
# uses: "codecov/codecov-action@v1"

0 commit comments

Comments
 (0)