From a7a5ed8a91012a6be5256a0d25f9a0c2568756ab Mon Sep 17 00:00:00 2001 From: Michal Klos Date: Wed, 25 Mar 2026 14:38:38 +0100 Subject: [PATCH] feat: [OCISDEV-740] acceptance test, coverage P0 --- .github/workflows/acceptance-tests.yml | 37 +++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/.github/workflows/acceptance-tests.yml b/.github/workflows/acceptance-tests.yml index 049a3f3b9dc..08694e7f031 100644 --- a/.github/workflows/acceptance-tests.yml +++ b/.github/workflows/acceptance-tests.yml @@ -5,16 +5,40 @@ on: workflow_dispatch: jobs: - acceptance-tests-graph: + acceptance-tests: name: ${{ matrix.suite }} runs-on: ubuntu-latest strategy: fail-fast: false matrix: suite: + # graph - apiGraph - apiGraphGroup - apiGraphUser + # spaces & dav + - apiSpaces + - apiSpacesShares + - apiSpacesDavOperation + - apiDownloads + - apiAsyncUpload + - apiDepthInfinity + - apiArchiver + - apiActivities + # search + - apiSearch1 + # contract & locks + - apiLocks + # sharing + - apiSharingNgItemInvitation + - apiSharingNgPermissions + - apiSharingNgShares + - apiSharingNgAdditionalShareRole + - apiSharingNgDriveInvitation + - apiSharingNgItemLinkShare + - apiSharingNgDriveLinkShare + - apiSharingNgLinkShareManagement + steps: - uses: actions/checkout@v4 @@ -38,3 +62,14 @@ jobs: with: name: test-logs-${{ matrix.suite }} path: tests/acceptance/output/ + + all-acceptance-tests: + needs: [acceptance-tests] + runs-on: ubuntu-latest + if: always() + steps: + - name: Check all jobs passed + run: | + if [[ "${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}" == "true" ]]; then + exit 1 + fi