]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Gitlab CI: fix checking of modified files in qcsrc folder, it wasn't recursive
authorterencehill <piuntn@gmail.com>
Thu, 31 Dec 2020 14:17:52 +0000 (15:17 +0100)
committerterencehill <piuntn@gmail.com>
Thu, 31 Dec 2020 14:17:52 +0000 (15:17 +0100)
.gitlab-ci.yml

index 4cce7de00c024b8387df27d3a958c5003ef31688..2be81a9141028eecc9bebe78744f7f3239acf323 100644 (file)
@@ -16,7 +16,7 @@ report_cloc:
     - ln -s $PWD data/xonotic-data.pk3dir # is this needed?
   rules:
     - changes:
-      - qcsrc/*
+      - qcsrc/**/*
   stage: test
   script:
     - cloc --force-lang-def=qcsrc/tools/cloc.txt --sql 1 --sql-project xonotic qcsrc | sqlite3 code.db
@@ -25,7 +25,7 @@ report_cloc:
 test_compilation_units:
   rules:
     - changes:
-      - qcsrc/*
+      - qcsrc/**/*
   stage: test
   script:
     - ./qcsrc/tools/compilationunits.sh