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:
|
generate-affected-matrix:
|
||||||
name: "Generate affected matrix"
|
name: "Generate affected matrix"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [setup]
|
needs: []
|
||||||
outputs:
|
outputs:
|
||||||
matrix: ${{ steps.set-matrix.outputs.matrix }}
|
matrix: ${{ steps.set-matrix.outputs.matrix }}
|
||||||
steps:
|
steps:
|
||||||
|
6
.github/workflows/unit-test.yml
vendored
6
.github/workflows/unit-test.yml
vendored
@@ -1,3 +1,5 @@
|
|||||||
|
name: "Unit Tests Workflow"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
inputs:
|
inputs:
|
||||||
@@ -20,8 +22,8 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Setup environment
|
- name: Setup environment
|
||||||
uses: ./.github/actions/setup
|
uses: ./.github/actions/setup
|
||||||
- name: Run test for ${{ matrix.project }}
|
- name: Run unit tests for ${{ matrix.project }}
|
||||||
env:
|
env:
|
||||||
NODE_OPTIONS: "--max-old-space-size=5120"
|
NODE_OPTIONS: "--max-old-space-size=5120"
|
||||||
run: |
|
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