-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add testing duration improvements (#440)
* Install pytest xdist plugin * Run tests with pytest-xdist * Use mypy cache in tox This makes running mypy from tox much faster (e.g., with `tox -e typing`). * Store and load mypy cache in GH workflow * Use `black` cache in tox * Add `pytest-cov` plugin In order to get coverage when using the `pytest-xdist` plugin we should use `pytest-cov`. * Move `pytest-xdist` to dev-packages in Pipfile --------- Co-authored-by: Martin Vrachev <[email protected]>
- Loading branch information
Showing
7 changed files
with
177 additions
and
141 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[run] | ||
omit = tests/* |
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.