diff --git a/tests/yaml_samples/ibom_no_ops.kibot.yaml b/tests/yaml_samples/ibom_no_ops.kibot.yaml index 2feb0f5d..ab239474 100644 --- a/tests/yaml_samples/ibom_no_ops.kibot.yaml +++ b/tests/yaml_samples/ibom_no_ops.kibot.yaml @@ -2,14 +2,6 @@ kibot: version: 1 -preflight: - set_text_variables: - - name: 'gh' - command: 'git log -1 --format="%h" $KIBOT_PCB_NAME' - before: 'Git:' - - name: 'date' - command: 'date +%d/%m/%Y' - outputs: - name: 'interactive_bom' comment: "Interactive Bill of Materials (HTML)" diff --git a/tests/yaml_samples/ibom_text_vars.kibot.yaml b/tests/yaml_samples/ibom_text_vars.kibot.yaml new file mode 100644 index 00000000..2feb0f5d --- /dev/null +++ b/tests/yaml_samples/ibom_text_vars.kibot.yaml @@ -0,0 +1,17 @@ +# Example KiBot config file +kibot: + version: 1 + +preflight: + set_text_variables: + - name: 'gh' + command: 'git log -1 --format="%h" $KIBOT_PCB_NAME' + before: 'Git:' + - name: 'date' + command: 'date +%d/%m/%Y' + +outputs: + - name: 'interactive_bom' + comment: "Interactive Bill of Materials (HTML)" + type: ibom + dir: BoM