[AAE-32905] - Start by adding unit test matrix

This commit is contained in:
VitoAlbano
2025-03-13 17:36:18 +00:00
parent 5fc7f8e3cb
commit b09bc8c0bc
2 changed files with 5 additions and 3 deletions

View File

@@ -187,7 +187,7 @@ jobs:
generate-affected-matrix:
name: "Generate affected matrix"
runs-on: ubuntu-latest
needs: [setup]
needs: []
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:

View File

@@ -1,3 +1,5 @@
name: "Unit Tests Workflow"
on:
workflow_call:
inputs:
@@ -20,8 +22,8 @@ jobs:
fetch-depth: 0
- name: Setup environment
uses: ./.github/actions/setup
- name: Run test for ${{ matrix.project }}
- name: Run unit tests for ${{ matrix.project }}
env:
NODE_OPTIONS: "--max-old-space-size=5120"
run: |
xvfb-run --auto-servernum npx nx run ${{ matrix.project }}:test --parallel
xvfb-run --auto-servernum npx nx run ${{ matrix.project }}:test