diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2023-01-03 16:51:59 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-01-04 16:46:16 +0100 |
commit | e2da30a0c5315273936232e3ad28ca0c8653ed33 (patch) | |
tree | 1be96d7e8ff90e379e06198e68a849bd56048d92 /.github | |
parent | 0a3ef8b74bffc9b1cb6ef21695037d52aabd3ee1 (diff) | |
download | nextcloud-server-e2da30a0c5315273936232e3ad28ca0c8653ed33.tar.gz nextcloud-server-e2da30a0c5315273936232e3ad28ca0c8653ed33.zip |
Add component testing workflow
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/cypress.yml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 1036e67b51d..601482da994 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -55,7 +55,7 @@ jobs: fail-fast: false matrix: # run multiple copies of the current job in parallel - containers: [1, 2] + containers: ['component', 1, 2] name: runner ${{ matrix.containers }} @@ -66,14 +66,18 @@ jobs: key: cypress-context-${{ github.run_id }} path: /home/runner/work/server - - name: Run E2E cypress tests - uses: cypress-io/github-action@v4 + - name: Run ${{ matrix.containers == 'component' && 'component' || 'E2E' }} cypress tests + + uses: cypress-io/github-action@v5 with: record: true parallel: true + # cypress run type + component: ${{ matrix.containers == 'component' }} + group: Run ${{ matrix.containers == 'component' && 'component' || 'E2E' }} # cypress env ci-build-id: ${{ github.sha }}-${{ github.run_number }} - tag: ${{ github.event_name }} + tag: ${{ github.event_name }}t env: # Needs to be prefixed with CYPRESS_ CYPRESS_BRANCH: ${{ env.BRANCH }} |