-
Notifications
You must be signed in to change notification settings - Fork 49
76 lines (63 loc) · 2.05 KB
/
Copy pathauth-react-test-2.yml
File metadata and controls
76 lines (63 loc) · 2.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
name: Auth-React Tests - L2
on:
workflow_call:
inputs:
artifact-id:
description: "Matrix artifact ID"
required: true
type: string
AUTH_REACT__LOG_DIR:
description: AUTH_REACT__LOG_DIR
required: true
type: string
AUTH_REACT__SCREENSHOT_DIR:
description: AUTH_REACT__SCREENSHOT_DIR
required: true
type: string
AUTH_REACT__APP_SERVER:
description: AUTH_REACT__APP_SERVER
required: true
type: string
AUTH_REACT__NODE_PORT:
description: AUTH_REACT__NODE_PORT
required: true
type: string
AUTH_REACT__TEST_MODE:
description: AUTH_REACT__TEST_MODE
required: true
type: string
AUTH_REACT__PORT:
description: AUTH_REACT__PORT
required: true
type: string
jobs:
retrieve-matrix:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.get-matrix.outputs.matrix }}
steps:
- uses: actions/download-artifact@v4
with:
name: matrix-${{ inputs.artifact-id }}
- id: get-matrix
run: |
matrix=$(<matrix-${{ inputs.artifact-id }}.json)
echo "matrix=$matrix" | tee -a "$GITHUB_OUTPUT"
launch-test-workflows:
needs:
- retrieve-matrix
strategy:
max-parallel: 1 # This is important to avoid ddos GHA API
fail-fast: false # Don't fail fast to avoid locking TF State
matrix: ${{ fromJson(needs.retrieve-matrix.outputs.matrix) }}
uses: ./.github/workflows/auth-react-test-3.yml
name: Group ${{ matrix.name }}
with:
matrix: ${{ matrix.items }}
fdi-version: ${{ inputs.artifact-id }}
AUTH_REACT__LOG_DIR: ${{ inputs.AUTH_REACT__LOG_DIR }}
AUTH_REACT__SCREENSHOT_DIR: ${{ inputs.AUTH_REACT__SCREENSHOT_DIR }}
AUTH_REACT__APP_SERVER: ${{ inputs.AUTH_REACT__APP_SERVER }}
AUTH_REACT__NODE_PORT: ${{ inputs.AUTH_REACT__NODE_PORT }}
AUTH_REACT__TEST_MODE: ${{ inputs.AUTH_REACT__TEST_MODE }}
AUTH_REACT__PORT: ${{ inputs.AUTH_REACT__PORT }}