[AAE-12057] unit tests & storybook rename

This commit is contained in:
Marco Carrozzo
2023-01-11 17:39:16 +01:00
parent 9f77d4187b
commit e495c0e329
+31 -3
View File
@@ -88,10 +88,38 @@ jobs:
- run: nx run stories:build-storybook --configuration ci
- uses: ./.github/actions/upload-cache-and-artifacts
playwright:
unit-tests:
timeout-minutes: 30
name: "Build Components"
runs-on: ubuntu-22.04
needs: [main]
strategy:
fail-fast: false
# max-parallel: 4
matrix:
unit-tests:
- name: content-services
exclude: "insights,core,extensions,process-services,process-services-cloud"
- name: core
exclude: "insights,content-services,process-services,process-services-cloud"
- name: insights
exclude: "core,extensions,content-services,process-services-cloud"
- name: process-cloud
exclude: "insights,core,extensions,content-services,process-services"
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0 # Fetch all history for all tags and branches
- uses: ./.github/actions/setup
- uses: ./.github/actions/download-cache-and-artifacts
- name: Run unit tests
run: nx affected:test $NX_CALCULATION_FLAGS --exclude="${{ matrix.unit-tests.exclude }}"
e2e storybook:
timeout-minutes: 20
name: "playwright"
needs: [main]
needs: [unit-tests]
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
@@ -110,7 +138,7 @@ jobs:
e2e:
timeout-minutes: 90
name: "e2e: ${{ matrix.e2e-test.description }}"
needs: [playwright]
needs: [unit-tests]
runs-on: ubuntu-22.04
strategy:
fail-fast: false