Skip to content

Commit

Permalink
Merge pull request #147 from pondersource/matrix-ci-tests
Browse files Browse the repository at this point in the history
 [OCM][Test Suite] New Matrix CI Tests for better visibility
  • Loading branch information
MahdiBaghbani authored Nov 19, 2024
2 parents 27d5cf2 + f141887 commit 637ea13
Show file tree
Hide file tree
Showing 37 changed files with 2,515 additions and 373 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/basic.yml

This file was deleted.

58 changes: 58 additions & 0 deletions .github/workflows/invite-link-nc-v27-nc-v27.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: OCM Test Invite Link NC v27.1.10 to NC v27.1.10

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the specified branch.
push:
branches:
- main
pull_request:
branches:
- main
# 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: nextcloud,
version: v27.1.10
},
]
receiver: [
{
platform: nextcloud,
version: v27.1.10
},
]

# 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
58 changes: 58 additions & 0 deletions .github/workflows/invite-link-nc-v27-oc-v10.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: OCM Test Invite Link NC v27.1.10 to OC v10.14.0

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the specified branch.
push:
branches:
- main
pull_request:
branches:
- main
# 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: nextcloud,
version: v27.1.10
},
]
receiver: [
{
platform: owncloud,
version: v10.14.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
58 changes: 58 additions & 0 deletions .github/workflows/invite-link-nc-v27-ocis-v5.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: OCM Test Invite Link NC v27.1.10 to oCIS v5.0.6

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the specified branch.
push:
branches:
- main
pull_request:
branches:
- main
# 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: nextcloud,
version: v27.1.10
},
]
receiver: [
{
platform: ocis,
version: 5.0.6
},
]

# 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
66 changes: 66 additions & 0 deletions .github/workflows/invite-link-oc-v10-nc-v27.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: OCM Test Invite Link OC v10.14.0 to NC v27.1.10

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the specified branch.
push:
branches:
- main
pull_request:
branches:
- main
# 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: owncloud,
version: v10.14.0
},
]
receiver: [
{
platform: nextcloud,
version: v27.1.10
},
{
platform: owncloud,
version: v10.14.0
},
{
platform: ocis,
version: 5.0.6
},
]

# 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
58 changes: 58 additions & 0 deletions .github/workflows/invite-link-oc-v10-oc-v10.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: OCM Test Invite Link OC v10.14.0 to OC v10.14.0

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the specified branch.
push:
branches:
- main
pull_request:
branches:
- main
# 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: owncloud,
version: v10.14.0
},
]
receiver: [
{
platform: owncloud,
version: v10.14.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
58 changes: 58 additions & 0 deletions .github/workflows/invite-link-oc-v10-ocis-v5.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: OCM Test Invite Link OC v10.14.0 to oCIS v5.0.6

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the specified branch.
push:
branches:
- main
pull_request:
branches:
- main
# 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: owncloud,
version: v10.14.0
},
]
receiver: [
{
platform: ocis,
version: 5.0.6
},
]

# 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
Loading

0 comments on commit 637ea13

Please sign in to comment.