Skip to content

Commit

Permalink
removed tests for Nextcloud "master" branch
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
  • Loading branch information
bigcat88 committed Oct 9, 2024
1 parent 786261a commit 1cb2021
Showing 1 changed file with 9 additions and 44 deletions.
53 changes: 9 additions & 44 deletions .github/workflows/analysis-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ jobs:
strategy:
fail-fast: false
matrix:
nextcloud: [ 'stable28', 'stable29', 'master' ]
nextcloud: [ 'stable28', 'stable29', 'stable30' ]
timeout-minutes: 60

services:
Expand Down Expand Up @@ -483,15 +483,13 @@ jobs:

- name: Checkout Notes
uses: actions/checkout@v4
if: ${{ !startsWith(matrix.nextcloud, 'master') }}
with:
repository: nextcloud/notes
ref: "main"
path: apps/notes

- name: Checkout Files Locking
uses: actions/checkout@v4
if: ${{ !startsWith(matrix.nextcloud, 'master') }}
with:
repository: nextcloud/files_lock
ref: ${{ matrix.nextcloud }}
Expand All @@ -511,11 +509,9 @@ jobs:
PHP_CLI_SERVER_WORKERS=2 php -S localhost:8080 &
- name: Enable Files Locking
if: ${{ !startsWith(matrix.nextcloud, 'master') }}
run: ./occ app:enable files_lock

- name: Enable Notes
if: ${{ !startsWith(matrix.nextcloud, 'master') }}
run: ./occ app:enable notes

- name: Checkout NcPyApi
Expand All @@ -528,15 +524,15 @@ jobs:
run: python3 -m pip -v install ".[dev]"

- name: Checkout AppAPI
if: ${{ matrix.nextcloud != 'master' }}
if: ${{ matrix.nextcloud != 'stable30' }}
uses: actions/checkout@v4
with:
path: apps/app_api
repository: nextcloud/app_api
ref: stable29

- name: Checkout AppAPI
if: ${{ matrix.nextcloud == 'master' }}
if: ${{ matrix.nextcloud == 'stable30' }}
uses: actions/checkout@v4
with:
path: apps/app_api
Expand All @@ -555,20 +551,12 @@ jobs:
kill -15 $(cat /tmp/_install.pid)
timeout 3m tail --pid=$(cat /tmp/_install.pid) -f /dev/null
- name: Talk Branch Main
if: ${{ startsWith(matrix.nextcloud, 'master') }}
run: echo "TALK_BRANCH_NAME=main" >> $GITHUB_ENV

- name: Talk Branch Other
if: ${{ !startsWith(matrix.nextcloud, 'master') }}
run: echo "TALK_BRANCH_NAME=${{ matrix.nextcloud }}" >> $GITHUB_ENV

- name: Checkout Talk
uses: actions/checkout@v4
with:
path: apps/spreed
repository: nextcloud/spreed
ref: ${{ env.TALK_BRANCH_NAME }}
ref: ${{ matrix.nextcloud }}

- name: Install Talk
working-directory: apps/spreed
Expand Down Expand Up @@ -627,7 +615,7 @@ jobs:
strategy:
fail-fast: false
matrix:
nextcloud: [ 'stable28', 'stable29', 'master' ]
nextcloud: [ 'stable28', 'stable29', 'stable30' ]
env:
NC_dbname: nextcloud_abz
DATABASE_PGSQL: 1
Expand Down Expand Up @@ -704,15 +692,15 @@ jobs:
run: python3 -m pip -v install ".[dev]"

- name: Checkout AppAPI
if: ${{ matrix.nextcloud != 'master' }}
if: ${{ matrix.nextcloud != 'stable30' }}
uses: actions/checkout@v4
with:
path: apps/app_api
repository: nextcloud/app_api
ref: stable29

- name: Checkout AppAPI
if: ${{ matrix.nextcloud == 'master' }}
if: ${{ matrix.nextcloud == 'stable30' }}
uses: actions/checkout@v4
with:
path: apps/app_api
Expand All @@ -731,20 +719,12 @@ jobs:
kill -15 $(cat /tmp/_install.pid)
timeout 3m tail --pid=$(cat /tmp/_install.pid) -f /dev/null
- name: Talk Branch Main
if: ${{ startsWith(matrix.nextcloud, 'master') }}
run: echo "TALK_BRANCH_NAME=main" >> $GITHUB_ENV

- name: Talk Branch Other
if: ${{ !startsWith(matrix.nextcloud, 'master') }}
run: echo "TALK_BRANCH_NAME=${{ matrix.nextcloud }}" >> $GITHUB_ENV

- name: Checkout Talk
uses: actions/checkout@v4
with:
path: apps/spreed
repository: nextcloud/spreed
ref: ${{ env.TALK_BRANCH_NAME }}
ref: ${{ matrix.nextcloud }}

- name: Install Talk
working-directory: apps/spreed
Expand Down Expand Up @@ -808,7 +788,7 @@ jobs:
strategy:
fail-fast: false
matrix:
nextcloud: [ 'stable27', 'stable28', 'stable29', 'master' ]
nextcloud: [ 'stable27', 'stable28', 'stable29', 'stable30', 'master' ]
env:
NEXTCLOUD_URL: "http://localhost:8080/index.php"
timeout-minutes: 60
Expand Down Expand Up @@ -884,21 +864,6 @@ jobs:
working-directory: nc_py_api
run: python3 -m pip -v install . pytest pytest-asyncio coverage pillow

- name: Talk Branch Main
if: ${{ startsWith(matrix.nextcloud, 'master') }}
run: echo "TALK_BRANCH_NAME=main" >> $GITHUB_ENV

- name: Talk Branch Other
if: ${{ !startsWith(matrix.nextcloud, 'master') }}
run: echo "TALK_BRANCH_NAME=${{ matrix.nextcloud }}" >> $GITHUB_ENV

- name: Checkout Talk
uses: actions/checkout@v4
with:
path: apps/spreed
repository: nextcloud/spreed
ref: ${{ env.TALK_BRANCH_NAME }}

- name: Install Talk
working-directory: apps/spreed
run: make dev-setup
Expand Down

0 comments on commit 1cb2021

Please sign in to comment.