Skip to content

Commit

Permalink
Merge pull request #25 from jacebrowning/profile
Browse files Browse the repository at this point in the history
Add profile tooling
  • Loading branch information
jacebrowning authored Jan 8, 2019
2 parents 9da820d + 2b6f246 commit 13eb1bb
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Icon*
/.coverage
/.coverage.*
/htmlcov/
/prof/

# Build and release directories
/build/
Expand Down
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ test-all: install
poetry run pytest $(PACKAGES) $(PYTEST_OPTIONS)
poetry run coveragespace $(REPOSITORY) overall


.PHONY: test-profile
test-profile: install
poetry run pytest tests --profile-svg

.PHONY: read-coverage
read-coverage:
bin/open htmlcov/index.html
Expand Down
25 changes: 24 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ pytest-describe = "*"
pytest-expecter = "*"
pytest-random = "*"
pytest-cov = "*"
pytest-profiling = "*"
freezegun = "*"

# Reports
Expand Down

0 comments on commit 13eb1bb

Please sign in to comment.