- - for C in $KCONFIGS; do COUNT=$(expr $COUNT + 1); echo ">>>>> checking kconfig number $COUNT <<<<<"; kconfig-hardened-check -c $C -l /proc/cmdline; done
- - echo ">>>>> have checked $COUNT kconfigs <<<<<"
+ - for C in $KCONFIGS; do COUNT=$(expr $COUNT + 1); echo ">>>>> checking kconfig number $COUNT <<<<<"; kernel-hardening-checker -c $C -l /proc/cmdline -s /tmp/sysctls; done
+ - echo "Have checked $COUNT kconfigs"
+ functional-test-with-coverage:
+ image: python:3
+ pull: true
+ commands:
+ - echo "Install the coverage tool..."
+ - python --version
+ - pip install --no-cache-dir coverage
+ - echo "Run the functional tests and collect the coverage..."
+ - sh .github/workflows/functional_test.sh
+ - echo "Show the coverage report..."
+ - coverage report