@@ -362,39 +362,40 @@ jobs:
362
362
- name : " Generating comparison"
363
363
run : " ./phpbench.dist.sh report --uuid=tag:current_pr --uuid=tag:master --report='{extends: compare, compare: tag}'"
364
364
365
- # phpunit-oci8:
366
- # name: "PHPUnit on OCI8"
367
- # runs-on: "ubuntu-latest"
368
- #
369
- # strategy:
370
- # matrix:
371
- # php-version:
372
- # - "7.4"
373
- #
365
+ phpunit-oci8 :
366
+ name : " PHPUnit on OCI8"
367
+ runs-on : " ubuntu-latest"
368
+ container : " moufmouf/oracle-xe-php:7.4-11g"
369
+
370
+ strategy :
371
+ matrix :
372
+ php-version :
373
+ - " 7.4"
374
+
374
375
# services:
375
376
# oracle:
376
377
# image: "wnameless/oracle-xe-11g-r2"
377
378
# ports:
378
379
# - "1521:1521"
379
- #
380
- # steps:
381
- # - name: "Checkout"
382
- # uses: "actions/checkout@v2"
383
- #
380
+
381
+ steps :
382
+ - name : " Checkout"
383
+ uses : " actions/checkout@v2"
384
+
384
385
# - name: "Install PHP"
385
386
# uses: "shivammathur/setup-php@v2"
386
387
# with:
387
388
# php-version: "${{ matrix.php-version }}"
388
389
# extensions: "oci8"
389
390
# coverage: "pcov"
390
- #
391
- # - name: "Cache dependencies installed with composer"
392
- # uses: "actions/cache@v1"
393
- # with:
394
- # path: "~/.composer/cache"
395
- # key: "php-${{ matrix.php-version }}-composer-locked-${{ hashFiles('composer.lock') }}"
396
- # restore-keys: "php-${{ matrix.php-version }}-composer-locked-"
397
- #
391
+
392
+ - name : " Cache dependencies installed with composer"
393
+ uses : " actions/cache@v1"
394
+ with :
395
+ path : " ~/.composer/cache"
396
+ key : " php-${{ matrix.php-version }}-composer-locked-${{ hashFiles('composer.lock') }}"
397
+ restore-keys : " php-${{ matrix.php-version }}-composer-locked-"
398
+
398
399
# - name: "Setup Oracle user"
399
400
# run: |
400
401
# 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 \
@@ -405,12 +406,12 @@ jobs:
405
406
# grant select any dictionary to tdbm_admin; \
406
407
# exit \
407
408
# SQL"
408
- #
409
- # - name: "Install dependencies with composer"
410
- # run: "composer install --no-interaction --no-progress --no-suggest"
411
- #
412
- # - name: "Run PHPUnit"
413
- # run: "vendor/bin/phpunit -c phpunit.oracle.xml --coverage-clover=coverage.xml"
414
- #
415
- # - name: "Upload Code Coverage"
416
- # uses: "codecov/codecov-action@v1"
409
+
410
+ - name : " Install dependencies with composer"
411
+ run : " composer install --no-interaction --no-progress --no-suggest"
412
+
413
+ - name : " Run PHPUnit"
414
+ run : " vendor/bin/phpunit -c phpunit.oracle.xml --coverage-clover=coverage.xml"
415
+
416
+ - name : " Upload Code Coverage"
417
+ uses : " codecov/codecov-action@v1"
0 commit comments