-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
root
committed
Jan 15, 2024
0 parents
commit 82f9788
Showing
298 changed files
with
12,632 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: create-pipeline | ||
on: | ||
push: | ||
# paths-ignore: | ||
# - '.github/workflows/**' | ||
|
||
jobs: | ||
rw: | ||
runs-on: ubuntu-20.04 | ||
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: create new pipeline | ||
run: node ./util/stmd/parse_to_yaml.js -f "./data/demonstration-test/extra/net.pmsf.ssp.stmd/SimulationTask.stmd" -o ./.github/workflows | ||
- name: push new test pipeline | ||
# The push will NOT trigger an infinite loop, see https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow | ||
run: | | ||
git config --global user.name "Automated Test Pipeline" | ||
git config --global user.email "[email protected]" | ||
|
||
git add ./.github/workflows | ||
git commit -m "Generated new automated test pipeline, based on STMD [actions skip]" | ||
git push -f | ||
|
||
- name: display result | ||
run: | | ||
echo "Successfully created new test pipeline:" >> $GITHUB_STEP_SUMMARY | ||
# cat ./.github/workflows/continuous_test.yml >> $GITHUB_STEP_SUMMARY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[submodule "Credibility-Assessment-Framework"] | ||
path = Credibility-Assessment-Framework | ||
url = https://github.com/virtual-vehicle/Credibility-Assessment-Framework.git | ||
branch = dev |
Submodule Credibility-Assessment-Framework
added at
70bcae
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# continuous_dynamic_sim_testing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<ssd:SystemStructureDescription xmlns:ssc="http://ssp-standard.org/SSP1/SystemStructureCommon" xmlns:ssd="http://ssp-standard.org/SSP1/SystemStructureDescription" xmlns:ssb="http://ssp-standard.org/SSP1/SystemStructureSignalDictionary" xmlns:ssv="http://ssp-standard.org/SSP1/SystemStructureParameterValues" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" name="dc_motor" generationDateAndTime="2023-11-06T17:37:43Z" xsi:schemaLocation="http://ssp-standard.org/SSP1/SystemStructureDescription http://ssp-standard.org/SSP1/SSP/1.0/SystemStructureDescription.xsd"> | ||
<ssd:System name="Model.CONNECT 1"> | ||
<ssd:Elements> | ||
<ssd:Component name="battery" type="application/x-fmu-sharedlibrary" source="../models/battery.fmu"> | ||
<ssd:Connectors> | ||
<ssd:Connector name="U_suppl" kind="output"> | ||
<ssc:Real unit="V"/> | ||
</ssd:Connector> | ||
</ssd:Connectors> | ||
<ssd:ParameterBindings> | ||
<ssd:ParameterBinding type="application/x-ssp-parameter-set" source="../parameters/battery.ssv"/> | ||
</ssd:ParameterBindings> | ||
</ssd:Component> | ||
<ssd:Component name="electrics" type="application/x-fmu-sharedlibrary" source="../models/electrics.fmu"> | ||
<ssd:Connectors> | ||
<ssd:Connector name="U_suppl" kind="input"> | ||
<ssc:Real unit="V"/> | ||
</ssd:Connector> | ||
<ssd:Connector name="w" kind="input"> | ||
<ssc:Real unit="rad/s"/> | ||
</ssd:Connector> | ||
<ssd:Connector name="M_el" kind="output"> | ||
<ssc:Real/> | ||
</ssd:Connector> | ||
</ssd:Connectors> | ||
<ssd:ParameterBindings> | ||
<ssd:ParameterBinding type="application/x-ssp-parameter-set" source="../parameters/electrics.ssv"/> | ||
</ssd:ParameterBindings> | ||
</ssd:Component> | ||
<ssd:Component name="mechanics" type="application/x-fmu-sharedlibrary" source="../models/mechanics.fmu"> | ||
<ssd:Connectors> | ||
<ssd:Connector name="M_el" kind="input"> | ||
<ssc:Real/> | ||
</ssd:Connector> | ||
<ssd:Connector name="w" kind="output"> | ||
<ssc:Real unit="rad/s"/> | ||
</ssd:Connector> | ||
</ssd:Connectors> | ||
<ssd:ParameterBindings> | ||
<ssd:ParameterBinding type="application/x-ssp-parameter-set" source="../parameters/mechanics.ssv"/> | ||
</ssd:ParameterBindings> | ||
</ssd:Component> | ||
</ssd:Elements> | ||
<ssd:Connections> | ||
<ssd:Connection startElement="battery" startConnector="U_suppl" endElement="electrics" endConnector="U_suppl"> | ||
</ssd:Connection> | ||
<ssd:Connection startElement="electrics" startConnector="M_el" endElement="mechanics" endConnector="M_el"> | ||
</ssd:Connection> | ||
<ssd:Connection startElement="mechanics" startConnector="w" endElement="electrics" endConnector="w"> | ||
</ssd:Connection> | ||
</ssd:Connections> | ||
</ssd:System> | ||
<ssd:Units> | ||
<ssc:Unit name="V"> | ||
<ssc:BaseUnit kg="1" m="2" s="-3" A="-1"/> | ||
</ssc:Unit> | ||
<ssc:Unit name="rad/s"> | ||
<ssc:BaseUnit s="-1" rad="1"/> | ||
</ssc:Unit> | ||
</ssd:Units> | ||
<ssd:DefaultExperiment startTime="0.0" stopTime="2.0"/> | ||
</ssd:SystemStructureDescription> |
Oops, something went wrong.