-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pyproject: Add testing for different python versions with tox
This change is needed for testing difference with python versions used on different distributions. Catching problems for example with f-string format. Ref: https://peps.python.org/pep-0701/ Signed-off-by: Arisu Tachibana <arisu.tachibana@miraclelinux.com>
- Loading branch information
1 parent
36dfc3e
commit d364d2b
Showing
4 changed files
with
17 additions
and
3 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
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
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,11 @@ | ||
[tox] | ||
env_list = py311,py312 | ||
|
||
[testenv] | ||
allowlist_externals = poetry | ||
commands_pre = | ||
poetry install --no-root | ||
poetry sync | ||
commands = | ||
poetry run pytest tests/ --import-mode importlib | ||
|