Skip to content

Commit

Permalink
fix(tests): Adjust mariadb testing matrix
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
  • Loading branch information
susnux committed Feb 13, 2024
1 parent 9577dde commit 7df5911
Showing 1 changed file with 44 additions and 6 deletions.
50 changes: 44 additions & 6 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -272,14 +272,14 @@ trigger:

---
kind: pipeline
name: mariadb10.2-php8.0
name: mariadb10.3-php8.0

steps:
- name: submodules
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: mariadb10.2-php8.0
- name: mariadb10.3-php8.0
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
commands:
- bash tests/drone-run-php-tests.sh || exit 0
Expand All @@ -289,7 +289,7 @@ services:
- name: cache
image: ghcr.io/nextcloud/continuous-integration-redis:latest
- name: mariadb
image: ghcr.io/nextcloud/continuous-integration-mariadb-10.2:10.2
image: ghcr.io/nextcloud/continuous-integration-mariadb-10.3:latest
environment:
MYSQL_ROOT_PASSWORD: owncloud
MYSQL_USER: oc_autotest
Expand All @@ -310,14 +310,14 @@ trigger:

---
kind: pipeline
name: mariadb10.4-php8.0
name: mariadb10.5-php8.0

steps:
- name: submodules
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: mariadb10.4-php8.0
- name: mariadb10.5-php8.0
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
commands:
- bash tests/drone-run-php-tests.sh || exit 0
Expand All @@ -327,7 +327,7 @@ services:
- name: cache
image: ghcr.io/nextcloud/continuous-integration-redis:latest
- name: mariadb
image: ghcr.io/nextcloud/continuous-integration-mariadb-10.4:10.4
image: ghcr.io/nextcloud/continuous-integration-mariadb-10.5:latest
environment:
MYSQL_ROOT_PASSWORD: owncloud
MYSQL_USER: oc_autotest
Expand Down Expand Up @@ -384,6 +384,44 @@ trigger:
- pull_request
- push

---
kind: pipeline
name: mariadb10.11-php8.2

steps:
- name: submodules
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: mariadb10.11-php8.2
image: ghcr.io/nextcloud/continuous-integration-php8.2:latest
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb

services:
- name: cache
image: ghcr.io/nextcloud/continuous-integration-redis:latest
- name: mariadb
image: ghcr.io/nextcloud/continuous-integration-mariadb-10.11:latest
environment:
MYSQL_ROOT_PASSWORD: owncloud
MYSQL_USER: oc_autotest
MYSQL_PASSWORD: owncloud
MYSQL_DATABASE: oc_autotest
command:
- --sql-mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
tmpfs:
- /var/lib/mysql

trigger:
branch:
- master
- stable*
event:
- pull_request
- push

---
kind: pipeline
name: mysql8.0-php8.0
Expand Down

0 comments on commit 7df5911

Please sign in to comment.