mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-10 14:11:42 +00:00
[AAE-32905] - Start by adding unit test matrix
This commit is contained in:
2
.github/workflows/pull-request.yml
vendored
2
.github/workflows/pull-request.yml
vendored
@@ -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:
|
||||
|
6
.github/workflows/unit-test.yml
vendored
6
.github/workflows/unit-test.yml
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user