Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions .github/workflows/acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ on:
required: false
type: string
default: ''
app-ref:
description: 'Git ref (branch, tag, or SHA) to checkout for the app repository. Defaults to the repository default branch.'
required: false
type: string
default: ''
server-folder:
description: 'The folder under the Apache root in which to install owncloud core'
required: false
Expand Down Expand Up @@ -70,6 +75,11 @@ on:
required: false
type: string
default: 'master'
server-version:
description: 'ownCloud server version to install (passed as PLUGIN_VERSION to owncloudci/core docker image). Use daily-master-qa for the OC11 nightly, or e.g. 10.16.2-qa for an OC10 testing release.'
required: false
type: string
default: 'daily-master-qa'
filter-tags:
description: test tags to run (or not run)
required: false
Expand Down Expand Up @@ -161,6 +171,7 @@ jobs:
with:
path: apps/${{ inputs.app-name }}
repository: ${{ inputs.app-repository }}
ref: ${{ inputs.app-ref }}

- name: Checkout additional app
if: ${{ inputs.additional-app != '' }}
Expand Down Expand Up @@ -231,7 +242,7 @@ jobs:
- name: Install owncloud/core
env:
SERVER_ROOT: ${{ steps.prepend.outputs.server-root }}
VERSION: 'daily-master-qa'
VERSION: ${{ inputs.server-version }}
CORE_PATH: /var/www/html${{ steps.prepend.outputs.server-root }}
DB_TYPE: 'mysql'
DB_NAME: 'owncloud'
Expand Down Expand Up @@ -260,7 +271,7 @@ jobs:
if: ${{ inputs.federated-folder != '' }}
env:
FEDERATED_ROOT: ${{ steps.prepend.outputs.federated-root }}
VERSION: 'daily-master-qa'
VERSION: ${{ inputs.server-version }}
CORE_PATH: /var/www/html${{ steps.prepend.outputs.federated-root }}
DB_TYPE: 'mysql'
DB_NAME: federateddb
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,22 @@ jobs:
app-repository: owncloud/notifications
do-api-tests: true
use-email-server: true

acceptance-api-oc10:
name: API acceptance tests (OC10)
uses: ./.github/workflows/acceptance.yml
with:
app-name: impersonate
app-repository: owncloud/impersonate
app-ref: 'v0.6.1'
do-api-tests: true
server-version: '10.16.2-qa'

acceptance-api-explicit-default:
name: API acceptance tests (explicit default version)
uses: ./.github/workflows/acceptance.yml
with:
app-name: impersonate
app-repository: owncloud/impersonate
do-api-tests: true
server-version: 'daily-master-qa'
Loading