-
Notifications
You must be signed in to change notification settings - Fork 1
126 lines (118 loc) · 7.42 KB
/
all.yaml
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
name: all
on:
workflow_run:
workflows:
- create-pipeline
types:
- completed
jobs:
all:
runs-on: ubuntu-20.04
needs:
- No_0_RequirementsPhase_DefineModelRequirements
- No_1_RequirementsPhase_DefineParameterRequirements
- No_2_RequirementsPhase_DefineSimulationEnvironmentRequirements
- No_3_RequirementsPhase_DefineSimulationIntegrationRequirements
- No_4_RequirementsPhase_DefineTestCaseRequirements
- No_5_DesignPhase_DefineModelDesignSpecification
- No_6_DesignPhase_DefineParameterDesignSpecification
- No_7_DesignPhase_DefineSimulationEnvironmentDesignSpecification
- No_8_DesignPhase_DefineSimulationIntegrationDesignSpecification
- No_9_DesignPhase_DefineTestCaseDesignSpecification
- No_10_ImplementationPhase_ImplementModel
- No_11_ImplementationPhase_ImplementParameter
- No_12_ImplementationPhase_IntegrateSimulation
steps:
- name: checkout simulation data
uses: actions/checkout@v4
with:
submodules: true
token: ${{ secrets.WRITE_WORKFLOW }}
- name: install prerequisites
run: >
cd util/stmd
npm install yaml
cd ../..
npm install --prefix ./Credibility-Assessment-Framework/Credibility-Development-Kit/util/stmd-crud ./Credibility-Assessment-Framework/Credibility-Development-Kit/util/stmd-crud
- name: make output folder
run: mkdir -p ./.github/outputs
- env:
No_0_RequirementsPhase_DefineModelRequirements: ${{needs.No_0_RequirementsPhase_DefineModelRequirements.outputs.summary}}
No_1_RequirementsPhase_DefineParameterRequirements: ${{needs.No_1_RequirementsPhase_DefineParameterRequirements.outputs.summary}}
No_2_RequirementsPhase_DefineSimulationEnvironmentRequirements:
${{needs.No_2_RequirementsPhase_DefineSimulationEnvironmentRequirements.outputs.summary}}
No_3_RequirementsPhase_DefineSimulationIntegrationRequirements:
${{needs.No_3_RequirementsPhase_DefineSimulationIntegrationRequirements.outputs.summary}}
No_4_RequirementsPhase_DefineTestCaseRequirements: ${{needs.No_4_RequirementsPhase_DefineTestCaseRequirements.outputs.summary}}
No_5_DesignPhase_DefineModelDesignSpecification: ${{needs.No_5_DesignPhase_DefineModelDesignSpecification.outputs.summary}}
No_6_DesignPhase_DefineParameterDesignSpecification: ${{needs.No_6_DesignPhase_DefineParameterDesignSpecification.outputs.summary}}
No_7_DesignPhase_DefineSimulationEnvironmentDesignSpecification:
${{needs.No_7_DesignPhase_DefineSimulationEnvironmentDesignSpecification.outputs.summary}}
No_8_DesignPhase_DefineSimulationIntegrationDesignSpecification:
${{needs.No_8_DesignPhase_DefineSimulationIntegrationDesignSpecification.outputs.summary}}
No_9_DesignPhase_DefineTestCaseDesignSpecification: ${{needs.No_9_DesignPhase_DefineTestCaseDesignSpecification.outputs.summary}}
No_10_ImplementationPhase_ImplementModel: ${{needs.No_10_ImplementationPhase_ImplementModel.outputs.summary}}
No_11_ImplementationPhase_ImplementParameter: ${{needs.No_11_ImplementationPhase_ImplementParameter.outputs.summary}}
No_12_ImplementationPhase_IntegrateSimulation: ${{needs.No_12_ImplementationPhase_IntegrateSimulation.outputs.summary}}
allActionList: No_0_RequirementsPhase_DefineModelRequirements,No_1_RequirementsPhase_DefineParameterRequirements,No_2_RequirementsPhase_DefineSimulationEnvironmentRequirements,No_3_RequirementsPhase_DefineSimulationIntegrationRequirements,No_4_RequirementsPhase_DefineTestCaseRequirements,No_5_DesignPhase_DefineModelDesignSpecification,No_6_DesignPhase_DefineParameterDesignSpecification,No_7_DesignPhase_DefineSimulationEnvironmentDesignSpecification,No_8_DesignPhase_DefineSimulationIntegrationDesignSpecification,No_9_DesignPhase_DefineTestCaseDesignSpecification,No_10_ImplementationPhase_ImplementModel,No_11_ImplementationPhase_ImplementParameter,No_12_ImplementationPhase_IntegrateSimulation,
run: node ./util/stmd/results.js -s -o summary.md && cat summary.md >>
$GITHUB_STEP_SUMMARY
- name: push new test pipeline
run: >
git config --global user.name "Add results"
git config --global user.email "[email protected]"
git add ./.github/outputs
git commit -m "Add results [actions skip]"
git push
No_0_RequirementsPhase_DefineModelRequirements:
uses: levanthanh3005/upsim-ci-2/.github/workflows/No.0.RequirementsPhase.DefineModelRequirements.yaml@main
secrets:
WRITE_WORKFLOW: ${{secrets.WRITE_WORKFLOW}}
No_1_RequirementsPhase_DefineParameterRequirements:
uses: levanthanh3005/upsim-ci-2/.github/workflows/No.1.RequirementsPhase.DefineParameterRequirements.yaml@main
secrets:
WRITE_WORKFLOW: ${{secrets.WRITE_WORKFLOW}}
No_2_RequirementsPhase_DefineSimulationEnvironmentRequirements:
uses: levanthanh3005/upsim-ci-2/.github/workflows/No.2.RequirementsPhase.DefineSimulationEnvironmentRequirements.yaml@main
secrets:
WRITE_WORKFLOW: ${{secrets.WRITE_WORKFLOW}}
No_3_RequirementsPhase_DefineSimulationIntegrationRequirements:
uses: levanthanh3005/upsim-ci-2/.github/workflows/No.3.RequirementsPhase.DefineSimulationIntegrationRequirements.yaml@main
secrets:
WRITE_WORKFLOW: ${{secrets.WRITE_WORKFLOW}}
No_4_RequirementsPhase_DefineTestCaseRequirements:
uses: levanthanh3005/upsim-ci-2/.github/workflows/No.4.RequirementsPhase.DefineTestCaseRequirements.yaml@main
secrets:
WRITE_WORKFLOW: ${{secrets.WRITE_WORKFLOW}}
No_5_DesignPhase_DefineModelDesignSpecification:
uses: levanthanh3005/upsim-ci-2/.github/workflows/No.5.DesignPhase.DefineModelDesignSpecification.yaml@main
secrets:
WRITE_WORKFLOW: ${{secrets.WRITE_WORKFLOW}}
No_6_DesignPhase_DefineParameterDesignSpecification:
uses: levanthanh3005/upsim-ci-2/.github/workflows/No.6.DesignPhase.DefineParameterDesignSpecification.yaml@main
secrets:
WRITE_WORKFLOW: ${{secrets.WRITE_WORKFLOW}}
No_7_DesignPhase_DefineSimulationEnvironmentDesignSpecification:
uses: levanthanh3005/upsim-ci-2/.github/workflows/No.7.DesignPhase.DefineSimulationEnvironmentDesignSpecification.yaml@main
secrets:
WRITE_WORKFLOW: ${{secrets.WRITE_WORKFLOW}}
No_8_DesignPhase_DefineSimulationIntegrationDesignSpecification:
uses: levanthanh3005/upsim-ci-2/.github/workflows/No.8.DesignPhase.DefineSimulationIntegrationDesignSpecification.yaml@main
secrets:
WRITE_WORKFLOW: ${{secrets.WRITE_WORKFLOW}}
No_9_DesignPhase_DefineTestCaseDesignSpecification:
uses: levanthanh3005/upsim-ci-2/.github/workflows/No.9.DesignPhase.DefineTestCaseDesignSpecification.yaml@main
secrets:
WRITE_WORKFLOW: ${{secrets.WRITE_WORKFLOW}}
No_10_ImplementationPhase_ImplementModel:
uses: levanthanh3005/upsim-ci-2/.github/workflows/No.10.ImplementationPhase.ImplementModel.yaml@main
secrets:
WRITE_WORKFLOW: ${{secrets.WRITE_WORKFLOW}}
No_11_ImplementationPhase_ImplementParameter:
uses: levanthanh3005/upsim-ci-2/.github/workflows/No.11.ImplementationPhase.ImplementParameter.yaml@main
secrets:
WRITE_WORKFLOW: ${{secrets.WRITE_WORKFLOW}}
No_12_ImplementationPhase_IntegrateSimulation:
uses: levanthanh3005/upsim-ci-2/.github/workflows/No.12.ImplementationPhase.IntegrateSimulation.yaml@main
secrets:
WRITE_WORKFLOW: ${{secrets.WRITE_WORKFLOW}}