Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
911e3979cf |
@@ -4,6 +4,10 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
actions: write
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
coding-standard:
|
coding-standard:
|
||||||
name: coding-standard
|
name: coding-standard
|
||||||
@@ -90,7 +94,7 @@ jobs:
|
|||||||
needs: [build-and-test]
|
needs: [build-and-test]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: true
|
||||||
matrix:
|
matrix:
|
||||||
suite:
|
suite:
|
||||||
# contract & locks
|
# contract & locks
|
||||||
@@ -206,12 +210,23 @@ jobs:
|
|||||||
- name: Run ${{ matrix.suite }}
|
- name: Run ${{ matrix.suite }}
|
||||||
run: BEHAT_SUITES=${{ matrix.suite }} python3 tests/acceptance/run-github.py
|
run: BEHAT_SUITES=${{ matrix.suite }} python3 tests/acceptance/run-github.py
|
||||||
|
|
||||||
|
- name: Cancel workflow on failure
|
||||||
|
if: failure()
|
||||||
|
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
|
||||||
|
with:
|
||||||
|
script: |
|
||||||
|
github.rest.actions.cancelWorkflowRun({
|
||||||
|
owner: context.repo.owner,
|
||||||
|
repo: context.repo.repo,
|
||||||
|
run_id: context.runId
|
||||||
|
})
|
||||||
|
|
||||||
cli-tests:
|
cli-tests:
|
||||||
needs: [build-and-test]
|
needs: [build-and-test]
|
||||||
name: ${{ matrix.suite }}
|
name: ${{ matrix.suite }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: true
|
||||||
matrix:
|
matrix:
|
||||||
suite:
|
suite:
|
||||||
- cliCommands,apiServiceAvailability # grouped like drone; needs ClamAV + email
|
- cliCommands,apiServiceAvailability # grouped like drone; needs ClamAV + email
|
||||||
@@ -242,12 +257,23 @@ jobs:
|
|||||||
- name: Run ${{ matrix.suite }}
|
- name: Run ${{ matrix.suite }}
|
||||||
run: BEHAT_SUITES="${{ matrix.suite }}" python3 tests/acceptance/run-github.py
|
run: BEHAT_SUITES="${{ matrix.suite }}" python3 tests/acceptance/run-github.py
|
||||||
|
|
||||||
|
- name: Cancel workflow on failure
|
||||||
|
if: failure()
|
||||||
|
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
|
||||||
|
with:
|
||||||
|
script: |
|
||||||
|
github.rest.actions.cancelWorkflowRun({
|
||||||
|
owner: context.repo.owner,
|
||||||
|
repo: context.repo.repo,
|
||||||
|
run_id: context.runId
|
||||||
|
})
|
||||||
|
|
||||||
core-api-tests:
|
core-api-tests:
|
||||||
name: ${{ matrix.suite }}
|
name: ${{ matrix.suite }}
|
||||||
needs: [build-and-test]
|
needs: [build-and-test]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: true
|
||||||
matrix:
|
matrix:
|
||||||
suite:
|
suite:
|
||||||
- "coreApiAuth,coreApiCapabilities,coreApiFavorites,coreApiMain,coreApiVersions"
|
- "coreApiAuth,coreApiCapabilities,coreApiFavorites,coreApiMain,coreApiVersions"
|
||||||
@@ -332,12 +358,23 @@ jobs:
|
|||||||
WITH_REMOTE_PHP=true
|
WITH_REMOTE_PHP=true
|
||||||
python3 tests/acceptance/run-github.py
|
python3 tests/acceptance/run-github.py
|
||||||
|
|
||||||
|
- name: Cancel workflow on failure
|
||||||
|
if: failure()
|
||||||
|
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
|
||||||
|
with:
|
||||||
|
script: |
|
||||||
|
github.rest.actions.cancelWorkflowRun({
|
||||||
|
owner: context.repo.owner,
|
||||||
|
repo: context.repo.repo,
|
||||||
|
run_id: context.runId
|
||||||
|
})
|
||||||
|
|
||||||
e2e-tests:
|
e2e-tests:
|
||||||
name: e2e-${{ matrix.suite }}
|
name: e2e-${{ matrix.suite }}
|
||||||
needs: [build-and-test]
|
needs: [build-and-test]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: true
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- suite: part-1
|
- suite: part-1
|
||||||
@@ -442,6 +479,17 @@ jobs:
|
|||||||
TIKA_NEEDED: ${{ matrix.tika == true && 'true' || 'false' }}
|
TIKA_NEEDED: ${{ matrix.tika == true && 'true' || 'false' }}
|
||||||
KEYCLOAK_NEEDED: ${{ matrix.keycloak == true && 'true' || 'false' }}
|
KEYCLOAK_NEEDED: ${{ matrix.keycloak == true && 'true' || 'false' }}
|
||||||
|
|
||||||
|
- name: Cancel workflow on failure
|
||||||
|
if: failure()
|
||||||
|
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
|
||||||
|
with:
|
||||||
|
script: |
|
||||||
|
github.rest.actions.cancelWorkflowRun({
|
||||||
|
owner: context.repo.owner,
|
||||||
|
repo: context.repo.repo,
|
||||||
|
run_id: context.runId
|
||||||
|
})
|
||||||
|
|
||||||
litmus:
|
litmus:
|
||||||
name: litmus
|
name: litmus
|
||||||
needs: [build-and-test]
|
needs: [build-and-test]
|
||||||
@@ -455,6 +503,17 @@ jobs:
|
|||||||
- name: Run litmus
|
- name: Run litmus
|
||||||
run: python3 tests/acceptance/run-litmus.py
|
run: python3 tests/acceptance/run-litmus.py
|
||||||
|
|
||||||
|
- name: Cancel workflow on failure
|
||||||
|
if: failure()
|
||||||
|
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
|
||||||
|
with:
|
||||||
|
script: |
|
||||||
|
github.rest.actions.cancelWorkflowRun({
|
||||||
|
owner: context.repo.owner,
|
||||||
|
repo: context.repo.repo,
|
||||||
|
run_id: context.runId
|
||||||
|
})
|
||||||
|
|
||||||
cs3api:
|
cs3api:
|
||||||
name: cs3api
|
name: cs3api
|
||||||
needs: [build-and-test]
|
needs: [build-and-test]
|
||||||
@@ -468,6 +527,17 @@ jobs:
|
|||||||
- name: Run cs3api validator
|
- name: Run cs3api validator
|
||||||
run: python3 tests/acceptance/run-cs3api.py
|
run: python3 tests/acceptance/run-cs3api.py
|
||||||
|
|
||||||
|
- name: Cancel workflow on failure
|
||||||
|
if: failure()
|
||||||
|
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
|
||||||
|
with:
|
||||||
|
script: |
|
||||||
|
github.rest.actions.cancelWorkflowRun({
|
||||||
|
owner: context.repo.owner,
|
||||||
|
repo: context.repo.repo,
|
||||||
|
run_id: context.runId
|
||||||
|
})
|
||||||
|
|
||||||
wopi-builtin:
|
wopi-builtin:
|
||||||
name: wopi-builtin
|
name: wopi-builtin
|
||||||
needs: [build-and-test]
|
needs: [build-and-test]
|
||||||
@@ -481,6 +551,17 @@ jobs:
|
|||||||
- name: Run WOPI validator (builtin)
|
- name: Run WOPI validator (builtin)
|
||||||
run: python3 tests/acceptance/run-wopi.py --type builtin
|
run: python3 tests/acceptance/run-wopi.py --type builtin
|
||||||
|
|
||||||
|
- name: Cancel workflow on failure
|
||||||
|
if: failure()
|
||||||
|
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
|
||||||
|
with:
|
||||||
|
script: |
|
||||||
|
github.rest.actions.cancelWorkflowRun({
|
||||||
|
owner: context.repo.owner,
|
||||||
|
repo: context.repo.repo,
|
||||||
|
run_id: context.runId
|
||||||
|
})
|
||||||
|
|
||||||
wopi-cs3:
|
wopi-cs3:
|
||||||
name: wopi-cs3
|
name: wopi-cs3
|
||||||
needs: [build-and-test]
|
needs: [build-and-test]
|
||||||
@@ -494,6 +575,17 @@ jobs:
|
|||||||
- name: Run WOPI validator (cs3)
|
- name: Run WOPI validator (cs3)
|
||||||
run: python3 tests/acceptance/run-wopi.py --type cs3
|
run: python3 tests/acceptance/run-wopi.py --type cs3
|
||||||
|
|
||||||
|
- name: Cancel workflow on failure
|
||||||
|
if: failure()
|
||||||
|
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
|
||||||
|
with:
|
||||||
|
script: |
|
||||||
|
github.rest.actions.cancelWorkflowRun({
|
||||||
|
owner: context.repo.owner,
|
||||||
|
repo: context.repo.repo,
|
||||||
|
run_id: context.runId
|
||||||
|
})
|
||||||
|
|
||||||
all-acceptance-tests:
|
all-acceptance-tests:
|
||||||
needs: [local-api-tests, cli-tests, core-api-tests, litmus, cs3api, wopi-builtin, wopi-cs3, e2e-tests]
|
needs: [local-api-tests, cli-tests, core-api-tests, litmus, cs3api, wopi-builtin, wopi-cs3, e2e-tests]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in new issue
Block a user