Skip to content

E2E tests

E2E tests #311

Workflow file for this run

name: E2E tests
on:
workflow_dispatch:
inputs:
ocis_version:
type: string
required: false
schedule:
- cron: '30 2 * * 1-5' # Monday to Friday at 2:30AM
jobs:
build_apk:
uses: owncloud/android/.github/workflows/build-apk.yml@master
with:
build_variant: qaRelease
version: master
create_ocis:
uses: ./.github/workflows/ocisbackend.yml
with:
ocis_version: ${{ (inputs.ocis_version != '' && inputs.ocis_version) || vars.OCIS_VERSION }}
secrets:
ocis_url: ${{ secrets.OC_SERVER_URL }}
ssh_host: ${{ secrets.SSH_HOST }}
ssh_user: ${{ secrets.SSH_USER }}
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
ocis_pwd: ${{ secrets.OCIS_PWD }}
tests:
needs:
- build_apk
- create_ocis
uses: ./.github/workflows/e2etests.yml
with:
apk: ${{ needs.build_apk.outputs.artifact_name }}
backend: oCIS
secrets:
oc_server_url: ${{ secrets.OC_SERVER_URL }}
cleanup:
needs:
- tests
if: always()
uses: ./.github/workflows/cleanup.yml
secrets:
ssh_host: ${{ secrets.SSH_HOST }}
ssh_user: ${{ secrets.SSH_USER }}
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}