ci: run cy tests into suites #7517
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: Upload Build Artifacts (All Packages) | |
uses: actions/upload-artifact@v4 | |
with: | |
name: build-artifacts | |
path: | | |
packages/*/dist # Upload all dist folders inside packages | |
packages/*/src/generated # Upload all generated folders inside packages | |
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 }} |