Add more tests to increase coverage - II
authorAlexander Popov <alex.popov@linux.com>
Mon, 30 Mar 2020 17:11:00 +0000 (20:11 +0300)
committerAlexander Popov <alex.popov@linux.com>
Mon, 30 Mar 2020 17:11:00 +0000 (20:11 +0300)
.github/workflows/main.yml

index d060ca73b80b4ddbeadf5ded6f593877749f68fd..c3763e086df338b2cee764fee6f36f209dfdf1be 100644 (file)
@@ -51,7 +51,18 @@ jobs:
     - name: Collect coverage
       run: |
         coverage run -a --branch bin/kconfig-hardened-check
+
         coverage run -a --branch bin/kconfig-hardened-check -p X86_64
+        coverage run -a --branch bin/kconfig-hardened-check -p X86_32
+        coverage run -a --branch bin/kconfig-hardened-check -p ARM64
+        coverage run -a --branch bin/kconfig-hardened-check -p ARM
+
+        CONFIG_DIR=`find /opt/hostedtoolcache/Python/ -name config_files`
+        CONFIGS=`find $CONFIG_DIR -type f|grep "\.config"`
+        for C in $CONFIGS
+        do
+                coverage run -a --branch bin/kconfig-hardened-check -c $C || exit
+        done
         coverage xml -i -o coverage.xml
 
     - name: Handle coverage