Skip to content

ci: run cy tests into suites #7518

ci: run cy tests into suites

ci: run cy tests into suites #7518

Workflow file for this run

name: CI - test
on:
pull_request:
push:
branches:
- 'main'
jobs:
setup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
node-version: 22
cache: 'yarn'
- name: Install Dependencies
run: yarn --frozen-lockfile
- name: Test Build
run: yarn ci:testbuild
- name: List Build Folders (Debugging)
run: |
echo "Listing all packages and their contents..."
ls -R packages/ # This should now reflect your folder structure under packages/
- name: Upload Build Artifacts (All Packages)
uses: actions/upload-artifact@v4
with:
name: build-artifacts
path: |
packages/ai/dist
packages/base/dist
packages/main/dist
packages/fiori/dist
packages/compat/dist
packages/icons/dist
packages/icons-tnt/dist
packages/icons-business-suite/dist
packages/localization/dist
packages/theming/dist
packages/ai/src/generated
packages/base/src/generated
packages/main/src/generated
packages/fiori/src/generated
packages/compat/src/generated
packages/icons/src/generated
packages/icons-tnt/src/generated
packages/icons-business-suite/src/generated
packages/localization/src/generated
packages/theming/src/generated
continue-on-error: true
check:
needs: setup
runs-on: ubuntu-latest
strategy:
matrix:
suite: ['base', 'compat', 'ai', 'main:suite-1', 'main:cy:suite-1', 'main:suite-2', 'main:cy:suite-2', 'fiori']
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
node-version: 22
cache: 'yarn'
- name: Install Dependencies
run: yarn --frozen-lockfile
- name: Download Build Artifacts (All Packages)
uses: actions/download-artifact@v4
with:
name: build-artifacts
path: packages
- name: Test
run: yarn ci:test:${{ matrix.suite }}