Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
build(make): add target for testing with pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
fardeon authored Mar 1, 2023
1 parent 4669249 commit e304482
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ changelog:

.PHONY: clean
clean:
@rm -rf dist/
@rm -rf dist/ .pytest_cache

.PHONY: docker-hub
docker-hub:
Expand All @@ -37,3 +37,7 @@ github-release: changelog
lint:
@flake8 basaran/ --count --select=E9,F63,F7,F82 --show-source --statistics
@flake8 basaran/ --count --exit-zero --max-complexity=10 --max-line-length=80 --statistics

.PHONY: test
test:
@python -m pytest

0 comments on commit e304482

Please sign in to comment.