mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +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
@@ -215,7 +215,7 @@ jobs:
|
|||||||
needs: [generate-affected-matrix]
|
needs: [generate-affected-matrix]
|
||||||
steps:
|
steps:
|
||||||
- name: Call unit tests workflow
|
- name: Call unit tests workflow
|
||||||
uses: ./.github/workflows/_unit-tests.yml
|
uses: ./.github/workflows/unit-test.yml@main
|
||||||
with:
|
with:
|
||||||
matrix: ${{ needs.generate-affected-matrix.outputs.matrix }}
|
matrix: ${{ needs.generate-affected-matrix.outputs.matrix }}
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
name: "Unit Tests for Affected Projects"
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
inputs:
|
inputs:
|
||||||
@@ -20,10 +18,10 @@ jobs:
|
|||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: ./.github/actions/setup
|
- name: Setup environment
|
||||||
- uses: ./.github/actions/download-node-modules-and-artifacts
|
uses: ./.github/actions/setup
|
||||||
- name: Run test for ${{ matrix.project }}
|
- name: Run test 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
|
xvfb-run --auto-servernum npx nx run ${{ matrix.project }}:test --parallel
|
Reference in New Issue
Block a user