Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Lukas Reschke 2021-06-02 23:14:14 +02:00
parent bdcd32ac7f
commit a93b6a9e32
No known key found for this signature in database
GPG Key ID: CC14BE8FDDEB46B8
2 changed files with 28 additions and 39 deletions

View File

@ -214,43 +214,6 @@ trigger:
- pull_request
- push
---
kind: pipeline
name: sqlite
steps:
- name: submodules
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: sqlite-php7.3
image: ghcr.io/nextcloud/continuous-integration-php7.3:php7.3-6
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
- name: sqlite-php7.4
image: ghcr.io/nextcloud/continuous-integration-php7.4:php7.4-3
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
- name: sqlite-php8.0
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
services:
- name: cache
image: ghcr.io/nextcloud/continuous-integration-redis:latest
trigger:
branch:
- master
- stable*
event:
- pull_request
- push
---
kind: pipeline
name: mariadb10.1-php7.3

View File

@ -7,6 +7,9 @@ on:
- master
- stable*
env:
php-extensions: ctype,curl,dom,fileinfo,gd,iconv,intl,json,mbstring,oci8,openssl,pdo_sqlite,posix,sqlite,xml,zip
jobs:
phpunit-nodb:
runs-on: ubuntu-20.04
@ -22,7 +25,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: ctype,curl,dom,fileinfo,gd,iconv,intl,json,mbstring,oci8,openssl,pdo_sqlite,posix,sqlite,xml,zip
extensions: ${{ env.php-extensions }}
tools: phpunit:9.5.4
coverage: none
- name: PHPUnit
@ -31,8 +34,31 @@ jobs:
TEST_SELECTION: NODB
run: bash autotest.sh sqlite
phpunit-sqlite:
runs-on: ubuntu-20.04
strategy:
matrix:
php-versions: [ '7.3', '7.4', '8.0' ]
steps:
- name: Checkout server
uses: actions/checkout@v2
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: ${{ env.php-extensions }}
tools: phpunit:9.5.4
coverage: none
- name: PHPUnit
env:
NOCOVERAGE: true
run: bash autotest.sh sqlite
phpunit-oci8:
runs-on: ubuntu-20.04
needs: phpunit-sqlite
strategy:
matrix:
@ -57,7 +83,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: ctype,curl,dom,fileinfo,gd,iconv,intl,json,mbstring,oci8,openssl,pdo_sqlite,posix,sqlite,xml,zip
extensions: ${{ env.php-extensions }}
tools: phpunit:8.5.2
coverage: none