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 unprivileged_userfaultfd if USERFAULTFD unset
[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 5a1a00ca58e21e8d95f442bb42e06fdd47496b48..8357264f06686955e962a5ab674616de7c066182 100644
(file)
--- a/
.github/workflows/engine_unit-test.yml
+++ b/
.github/workflows/engine_unit-test.yml
@@
-15,17
+15,17
@@
jobs:
max-parallel: 1
fail-fast: false
matrix:
max-parallel: 1
fail-fast: false
matrix:
- python-version: ['3.1
1
']
+ python-version: ['3.1
2
']
steps:
- name: Set up Python ${{ matrix.python-version }}
steps:
- name: Set up Python ${{ matrix.python-version }}
- uses: actions/setup-python@v
4
+ uses: actions/setup-python@v
5
with:
python-version: ${{ matrix.python-version }}
- name: Get source code for collecting coverage
with:
python-version: ${{ matrix.python-version }}
- name: Get source code for collecting coverage
- uses: actions/checkout@v
3
+ uses: actions/checkout@v
4
- name: Install coverage
run: |
- name: Install coverage
run: |
@@
-34,14
+34,16
@@
jobs:
- name: Run unit-tests and collect coverage
run: |
- name: Run unit-tests and collect coverage
run: |
- coverage run --include=k
config_hardened_check/engine.py,kconfig_hardened_check/test_engine.py -m unittest -v
+ coverage run --include=k
ernel_hardening_checker/engine.py,kernel_hardening_checker/test_engine.py -m unittest -v -b
coverage xml -i -o coverage_unittest.xml
- name: Handle coverage
coverage xml -i -o coverage_unittest.xml
- name: Handle coverage
- uses: codecov/codecov-action@v3
+ uses: codecov/codecov-action@v4
+ env:
+ CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: ./coverage_unittest.xml
flags: engine_unit-test
with:
files: ./coverage_unittest.xml
flags: engine_unit-test
- name:
codecov-umbrella
+ name:
engine_unit-test_upload
fail_ci_if_error: true
verbose: true
fail_ci_if_error: true
verbose: true