projects
/
kconfig-hardened-check.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Skip normalize_cmdline_options() for the ssbd cmdline parameter
[kconfig-hardened-check.git]
/
.github
/
workflows
/
engine_unit-test.yml
diff --git
a/.github/workflows/engine_unit-test.yml
b/.github/workflows/engine_unit-test.yml
index 92591c6296997cac34520bfad9e2a9a62edd6d95..71204aec98aca2219d52de201e48459380e21d92 100644
(file)
--- a/
.github/workflows/engine_unit-test.yml
+++ b/
.github/workflows/engine_unit-test.yml
@@
-27,7
+27,21
@@
jobs:
- name: Get source code for collecting coverage
uses: actions/checkout@v3
- name: Get source code for collecting coverage
uses: actions/checkout@v3
+ - name: Install coverage
+ run: |
+ python -m pip install --upgrade pip
+ pip install coverage
+
- name: Run unit-tests and collect coverage
run: |
- name: Run unit-tests and collect coverage
run: |
- coverage run --include=kconfig_hardened_check/engine.py,kconfig_hardened_check/test_engine.py -m unittest -v
+ coverage run --include=kconfig_hardened_check/engine.py,kconfig_hardened_check/test_engine.py -m unittest -v
-b
coverage xml -i -o coverage_unittest.xml
coverage xml -i -o coverage_unittest.xml
+
+ - name: Handle coverage
+ uses: codecov/codecov-action@v3
+ with:
+ files: ./coverage_unittest.xml
+ flags: engine_unit-test
+ name: engine_unit-test_upload
+ fail_ci_if_error: true
+ verbose: true