-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tox for local development testing
This tox setup is mostly intended to execute python3.9 and python3.12 in our local setup without the need of waiting for CI to run the specific test.
- Loading branch information
Showing
4 changed files
with
143 additions
and
13 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[tox] | ||
envlist = py3{9,12} | ||
isolated_build = true | ||
|
||
[testenv] | ||
setenv = | ||
# Ignore the python version defined in .pdm-python | ||
PDM_IGNORE_SAVED_PYTHON='1' | ||
groups = | ||
dev | ||
allowlist_externals = pdm | ||
# Execute pdm run unit-test | ||
commands = unit-test {posargs} |