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

github.com/nextcloud/contacts.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/ISSUE_TEMPLATE/bug_report_circles.yml26
-rw-r--r--.github/ISSUE_TEMPLATE/bug_report_contacts.yml2
-rw-r--r--.github/ISSUE_TEMPLATE/feature_request_form.yml7
-rw-r--r--.github/workflows/lint-php.yml2
-rw-r--r--.github/workflows/node-test.yml47
-rw-r--r--.github/workflows/node.yml7
-rw-r--r--.github/workflows/phpunit.yml21
7 files changed, 83 insertions, 29 deletions
diff --git a/.github/ISSUE_TEMPLATE/bug_report_circles.yml b/.github/ISSUE_TEMPLATE/bug_report_circles.yml
index 812b21fe..c0ecf70b 100644
--- a/.github/ISSUE_TEMPLATE/bug_report_circles.yml
+++ b/.github/ISSUE_TEMPLATE/bug_report_circles.yml
@@ -130,22 +130,22 @@ body:
from within your instance's installation folder.
render: Text
- type: markdown
- attributes:
- value: "## Client configuration"
+ attributes:
+ value: "## Client configuration"
- type: input
id: browser
- attributes:
- label: Browser
- description: e.g Firefox 56
+ attributes:
+ label: Browser
+ description: e.g Firefox 56
- type: input
id: client-os
- attributes:
- label: Client operating system
- description: e.g. Arch Linux
+ attributes:
+ label: Client operating system
+ description: e.g. Arch Linux
- type: input
id: carddav-clients
- attributes:
- label: CardDAV-clients
+ attributes:
+ label: CardDAV-clients
- type: markdown
attributes:
value: "## Logs"
@@ -176,8 +176,8 @@ body:
- type: textarea
id: browser-log-circle
attributes:
- label: Browser log
- description: |
+ label: Browser log
+ description: |
Below you can see how to access your browser console. Please, use the browser log where you faced the error.
#### Chrome
- Press either CTRL + SHIFT + J to open the “console” tab of the Developer Tools.
@@ -198,4 +198,4 @@ body:
#### Opera
1. Press CTRL + SHIFT + I to open Dragonfly.
2. Click on the “console” tab.
- render: Text
+ render: Text
diff --git a/.github/ISSUE_TEMPLATE/bug_report_contacts.yml b/.github/ISSUE_TEMPLATE/bug_report_contacts.yml
index 1a1964b9..203650d9 100644
--- a/.github/ISSUE_TEMPLATE/bug_report_contacts.yml
+++ b/.github/ISSUE_TEMPLATE/bug_report_contacts.yml
@@ -44,7 +44,7 @@ body:
description: |
See apps admin page, e.g. 0.5.3
- type: input
- id: system
+ id: operating-system
attributes:
label: Operating system
description: |
diff --git a/.github/ISSUE_TEMPLATE/feature_request_form.yml b/.github/ISSUE_TEMPLATE/feature_request_form.yml
index 79cdcd03..087abd2a 100644
--- a/.github/ISSUE_TEMPLATE/feature_request_form.yml
+++ b/.github/ISSUE_TEMPLATE/feature_request_form.yml
@@ -24,20 +24,19 @@ body:
attributes:
label: Is your feature request related to a problem? Please describe.
description: |
- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
- type: textarea
id: description-solution
attributes:
label: Describe the solution you'd like
- description: |
- A clear and concise description of what you want to happen.
+ description: |
+ A clear and concise description of what you want to happen.
- type: textarea
id: description-alternatives
attributes:
label: Describe alternatives you've considered
description: |
A clear and concise description of any alternative solutions or features you've considered.
-
- type: textarea
id: additional-context
attributes:
diff --git a/.github/workflows/lint-php.yml b/.github/workflows/lint-php.yml
index c1d72cc6..68ae194d 100644
--- a/.github/workflows/lint-php.yml
+++ b/.github/workflows/lint-php.yml
@@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- php-versions: ["7.4", "8.0"]
+ php-versions: ["7.4", "8.0", "8.1"]
name: php-lint
diff --git a/.github/workflows/node-test.yml b/.github/workflows/node-test.yml
new file mode 100644
index 00000000..06ef87a5
--- /dev/null
+++ b/.github/workflows/node-test.yml
@@ -0,0 +1,47 @@
+# This workflow is provided via the organization template repository
+#
+# https://github.com/nextcloud/.github
+# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
+
+name: Node
+
+on:
+ pull_request:
+ push:
+ branches:
+ - main
+ - master
+ - stable*
+
+jobs:
+ test:
+ runs-on: ubuntu-latest
+
+ name: test
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+
+ - name: Read package.json node and npm engines version
+ uses: skjnldsv/read-package-engines-version-actions@v1.2
+ id: versions
+ with:
+ fallbackNode: '^12'
+ fallbackNpm: '^6'
+
+ - name: Set up node ${{ steps.versions.outputs.nodeVersion }}
+ uses: actions/setup-node@v3
+ with:
+ node-version: ${{ steps.versions.outputs.nodeVersion }}
+
+ - name: Set up npm ${{ steps.versions.outputs.npmVersion }}
+ run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
+
+ - name: Install dependencies
+ run: npm ci
+
+ - name: Testing
+ run: npm run test:coverage --if-present
+
+ - name: Upload coverage
+ uses: codecov/codecov-action@v2
diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml
index eee1bb13..bb3bbf52 100644
--- a/.github/workflows/node.yml
+++ b/.github/workflows/node.yml
@@ -10,6 +10,7 @@ on:
push:
branches:
- main
+ - master
- stable*
jobs:
@@ -19,17 +20,17 @@ jobs:
name: node
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: Read package.json node and npm engines version
- uses: skjnldsv/read-package-engines-version-actions@v1.1
+ uses: skjnldsv/read-package-engines-version-actions@v1.2
id: versions
with:
fallbackNode: '^12'
fallbackNpm: '^6'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
- uses: actions/setup-node@v2
+ uses: actions/setup-node@v3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml
index b21a74e4..b55f5653 100644
--- a/.github/workflows/phpunit.yml
+++ b/.github/workflows/phpunit.yml
@@ -20,7 +20,7 @@ jobs:
matrix:
php-versions: ['7.4']
databases: ['sqlite']
- server-versions: ['stable22', 'stable23', 'master']
+ server-versions: ['stable22', 'stable23', 'stable24', 'master']
name: php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }}
@@ -38,7 +38,7 @@ jobs:
path: apps/${{ env.APP_NAME }}
- name: Set up php ${{ matrix.php-versions }}
- uses: shivammathur/setup-php@v1
+ uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit
@@ -78,9 +78,16 @@ jobs:
# do not stop on another job's failure
fail-fast: false
matrix:
- php-versions: ['7.3', '7.4', '8.0']
+ php-versions: ['7.4', '8.0']
databases: ['mysql']
- server-versions: ['stable21', 'stable22', 'stable23', 'master']
+ server-versions: ['stable21', 'stable22', 'stable23', 'stable24', 'master']
+ include:
+ - php-versions: '8.1'
+ databases: 'mysql'
+ server-versions: stable24
+ - php-versions: '8.1'
+ databases: 'mysql'
+ server-versions: master
name: php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }}
@@ -107,7 +114,7 @@ jobs:
path: apps/${{ env.APP_NAME }}
- name: Set up php ${{ matrix.php-versions }}
- uses: shivammathur/setup-php@v1
+ uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit
@@ -144,7 +151,7 @@ jobs:
matrix:
php-versions: ['7.4']
databases: ['pgsql']
- server-versions: ['stable22', 'stable23', 'master']
+ server-versions: ['stable22', 'stable23', 'stable24', 'master']
name: php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }}
@@ -173,7 +180,7 @@ jobs:
path: apps/${{ env.APP_NAME }}
- name: Set up php ${{ matrix.php-versions }}
- uses: shivammathur/setup-php@v1
+ uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit