Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/twofactor_totp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2022-06-13 11:48:57 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2022-06-13 16:07:25 +0300
commitbccdd16bb9b92a036e66647403f3d80e1da11937 (patch)
tree2a82addab94f0d3851ac3edb95d29174fdf5c696 /.github
parent4b6937dd89fc477025925df0dc41a6d658d963af (diff)
Add PHP8.1 support
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml44
1 files changed, 34 insertions, 10 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index a47800c..f02fd8e 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -15,9 +15,16 @@ jobs:
strategy:
fail-fast: false
matrix:
- php-version: [ 8.0 ]
- nextcloud-version: [ 'master', 'stable23', 'stable22' ]
+ php-version: [ "8.1" ]
+ nextcloud-version: [ 'master', 'stable24' ]
db: ['sqlite']
+ include:
+ - php-version: "8.0"
+ nextcloud-version: stable23
+ db: sqlite
+ - php-version: "7.4"
+ nextcloud-version: stable22
+ db: sqlite
name: Nextcloud ${{ matrix.nextcloud-version }} php${{ matrix.php-version }} unit tests
steps:
@@ -61,17 +68,21 @@ jobs:
strategy:
fail-fast: false
matrix:
- php-version: [ "7.4", "8.0" ]
- nextcloud-version: [ 'master', 'stable22' ]
- browser: [ 'firefox', 'chrome' ]
+ php-version: [ "8.1" ]
+ nextcloud-version: [ 'master' ]
+ browser: [ 'firefox' ]
db: [ 'mysql' ]
include:
- - php-versions: "8.1"
- nextcloud-versions: "master"
+ - php-version: "8.1"
+ nextcloud-version: "stable24"
+ browser: 'chrome'
+ db: 'sqlite'
+ - php-version: "8.0"
+ nextcloud-version: "stable23"
browser: 'firefox'
- db: 'mysql'
- - php-versions: "8.1"
- nextcloud-versions: "master"
+ db: 'pgsql'
+ - php-version: "7.4"
+ nextcloud-version: "stable22"
browser: 'chrome'
db: 'mysql'
@@ -92,6 +103,19 @@ jobs:
--health-interval=10s
--health-timeout=5s
--health-retries=3
+ postgres-service:
+ image: postgres
+ env:
+ POSTGRES_USER: nextcloud
+ POSTGRES_DB: nextcloud
+ POSTGRES_PASSWORD: nextcloud
+ ports:
+ - 5432:5432
+ options: >-
+ --health-cmd pg_isready
+ --health-interval 10s
+ --health-timeout 5s
+ --health-retries 5
steps:
- name: Set up php${{ matrix.php-version }}