-
Notifications
You must be signed in to change notification settings - Fork 2
66 lines (59 loc) · 2.06 KB
/
invite-link-ocis-v5-oc-v10.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: OCM Test Invite Link oCIS v5.0.9 to OC v10.15.0
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the specified branch and files.
push:
branches:
- main
paths:
- "cypress/ocm-test-suite/**"
- "dev/ocm-test-suite.sh"
- "dev/ocm-test-suite/**"
pull_request:
branches:
- main
paths:
- "cypress/ocm-test-suite/**"
- "dev/ocm-test-suite.sh"
- "dev/ocm-test-suite/**"
# Allows you to run this workflow manually from the Actions tab.
workflow_dispatch:
jobs:
invite-link:
strategy:
fail-fast: false
max-parallel: 1
matrix:
sender: [
{
platform: ocis,
version: 5.0.9
},
]
receiver: [
{
platform: owncloud,
version: v10.15.0
},
]
# The OS to run tests on, (I believe for OCM testing OS is really not that important).
runs-on: ubuntu-24.04
# Steps represent a sequence of tasks that will be executed as part of the job.
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it.
- name: Checkout.
uses: actions/checkout@v4
- name: Pull images.
shell: bash
run: |
./docker/pull/ocm-test-suite/${{ matrix.sender.platform }}.sh ${{ matrix.sender.version }}
./docker/pull/ocm-test-suite/${{ matrix.receiver.platform }}.sh ${{ matrix.receiver.version }}
- name: Run tests.
shell: bash
run: ./dev/ocm-test-suite.sh invite-link ${{ matrix.sender.platform }} ${{ matrix.sender.version }} ci electron ${{ matrix.receiver.platform }} ${{ matrix.receiver.version }}
- name: Upload Cypress video artifacts.
uses: actions/upload-artifact@v4
if: always()
with:
name: invite-link from ${{ matrix.sender.platform }} ${{ matrix.sender.version }} to ${{ matrix.receiver.platform }} ${{ matrix.receiver.version }}
path: ./cypress/ocm-test-suite/cypress/videos