From be29f07e09cf6a476a022c8b6a972f3548657306 Mon Sep 17 00:00:00 2001 From: Nils Kohl <nils.kohl@fau.de> Date: Tue, 27 Aug 2024 14:56:10 +0200 Subject: [PATCH] Added a simple test to ensure no directory is left untested. --- .gitlab-ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4dbe19fa..e161006c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,17 @@ stages: - pretest - test +compare_number_of_directories_and_toml_files: + stage: pretest + image: i10git.cs.fau.de:5005/pycodegen/pycodegen/full + script: + - find operators/* -maxdepth 0 -type d | wc -l > num_directories.txt + - find ./*.toml | wc -l > num_toml_files.txt + - cat num_directories.txt num_toml_files.txt + - diff num_directories.txt num_toml_files.txt + tags: + - docker + .hyteg-hog-integration-test-template: stage: test image: i10git.cs.fau.de:5005/pycodegen/pycodegen/full -- GitLab