From: Alexander Popov Date: Mon, 30 Mar 2020 17:11:00 +0000 (+0300) Subject: Add more tests to increase coverage - II X-Git-Tag: v0.5.7~36 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=2cb18b1a81721f215c1e3f2fe42693844f354a5c;p=kconfig-hardened-check.git Add more tests to increase coverage - II --- diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d060ca7..c3763e0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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