-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
57c2f3a
commit e28eba6
Showing
1 changed file
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
init: | ||
apt update && apt install --auto-remove -y lcov python3-venv python3-pip python3-dev python3-setuptools | ||
python3 -m venv venv | ||
source venv/bin/activate | ||
pip install -r requirements.txt | ||
apt update && apt install --auto-remove -y lcov | ||
|
||
test: | ||
pytest --cov-report term-missing --cov-report lcov:./tests/lcov/cov.info --cov=mm tests | ||
genhtml ./tests/lcov/cov.info -o ./tests/lcov/html | ||
|
||
.PHONY: init test | ||
.PHONY: init test |