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
b9f7cd4b
Commit
b9f7cd4b
authored
May 08, 2023
by
Alexander Popov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Run the engine unit-test in Woodpecker-CI
parent
74f975ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
11 deletions
+8
-11
engine_unit-test.yml
.woodpecker/engine_unit-test.yml
+8
-11
No files found.
.woodpecker/engine_unit-test.yml
View file @
b9f7cd4b
# .woodpecker.yml
pipeline
:
hello-step
:
unit-test
:
image
:
python:3
pull
:
true
commands
:
-
echo "Hello, this is the engine unit-test"
build
:
image
:
python:3
commands
:
-
echo "Building..."
-
echo "Prepare the engine unit-test..."
-
python --version
a-test-step
:
image
:
python:3
commands
:
-
echo "
Testing
..."
-
./bin/kconfig-hardened-check
-
pip install --no-cache-dir coverage
-
echo "Run unit-tests and collect coverage..."
-
coverage run --include=kconfig_hardened_check/engine.py,kconfig_hardened_check/test_engine.py -m unittest -v -b
-
echo "
Show the coverage report
..."
-
coverage report
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