-
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.
[hotfix]: invalid output location when generating artifacts
- Loading branch information
Showing
2 changed files
with
29 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
.PHONY: help dev test clean | ||
|
||
default: help | ||
|
||
help: | ||
@echo 'Makefile for the project' | ||
@echo | ||
@echo 'Usage:' | ||
@echo ' make dev install the packages in development mode' | ||
@echo ' make lint run linter' | ||
@echo ' make test run tests' | ||
@echo ' make clean clean all auxiliary files, build and test compiled files' | ||
@echo | ||
|
||
dev: | ||
# install the package in development mode | ||
python -m pip install --upgrade pip | ||
pip install -e .[dev] | ||
|
||
test: | ||
# run unit tests and generate coverage report | ||
python -m pytest tests/ -vv --cov=. --cov-report=html --cov-report=term-missing --junitxml=junit/coverage-results.xml | ||
|
||
clean: | ||
# clean all auxiliary files, build and test compiled files | ||
@rm -rf .pytest_cache/ */.pytest_cache/ junit/ build/ dist/ htmlcov/ .coverage | ||
@find . -not -path './.venv*' -path '*/__pycache__*' -delete | ||
@find . -not -path './.venv*' -path '*/*.egg-info*' -delete |
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