From e54d7a6a1e8ce093bd7ba68c27793db96ca7ea81 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Sat, 23 Apr 2022 15:28:28 -0300 Subject: [PATCH] Moved the text vars test to ibom_text_vars.kibot.yaml - To avoiud testing interference Related to #161 --- tests/yaml_samples/ibom_no_ops.kibot.yaml | 8 -------- tests/yaml_samples/ibom_text_vars.kibot.yaml | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 8 deletions(-) create mode 100644 tests/yaml_samples/ibom_text_vars.kibot.yaml 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