Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kernel-hardening-checker
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-depend
kernel-hardening-checker
Commits
f028b42b
Commit
f028b42b
authored
Mar 10, 2023
by
Alexander Popov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create a separate CI workflow for unit-tests
parent
f08db00f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
11 deletions
+34
-11
engine_unit-test.yml
.github/workflows/engine_unit-test.yml
+33
-0
main.yml
.github/workflows/main.yml
+1
-11
No files found.
.github/workflows/engine_unit-test.yml
0 → 100644
View file @
f028b42b
name
:
engine unit-test
on
:
push
:
branches
:
[
master
]
pull_request
:
branches
:
[
master
]
jobs
:
engine_unit-test
:
runs-on
:
ubuntu-latest
strategy
:
max-parallel
:
1
fail-fast
:
false
matrix
:
python-version
:
[
'
3.11'
]
steps
:
-
name
:
Set up Python ${{ matrix.python-version }}
uses
:
actions/setup-python@v4
with
:
python-version
:
${{ matrix.python-version }}
-
name
:
Get source code for collecting coverage
uses
:
actions/checkout@v3
-
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 xml -i -o coverage_unittest.xml
.github/workflows/main.yml
View file @
f028b42b
...
@@ -7,7 +7,7 @@ on:
...
@@ -7,7 +7,7 @@ on:
branches
:
[
master
]
branches
:
[
master
]
jobs
:
jobs
:
check_all_configs
:
functional_test
:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
...
@@ -165,13 +165,3 @@ jobs:
...
@@ -165,13 +165,3 @@ jobs:
name
:
codecov-umbrella
name
:
codecov-umbrella
fail_ci_if_error
:
true
fail_ci_if_error
:
true
verbose
:
true
verbose
:
true
-
name
:
Erase coverage
run
:
|
coverage erase
rm ./coverage.xml
-
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 xml -i -o coverage_unittest.xml
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment