-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Feature] ✨ made tests run through tox
- Loading branch information
Mokhtar FANDOULI
committed
Aug 25, 2024
1 parent
0e1cecb
commit 9b917d4
Showing
2 changed files
with
34 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[tox] | ||
envlist = py38 | ||
|
||
[gh-actions] | ||
python = | ||
3.8: py38 | ||
|
||
[testenv] | ||
description = "Test environment" | ||
allowlist_externals = | ||
sed | ||
passenv = | ||
HOME | ||
deps = | ||
-rrequirements.txt | ||
pytest-cov | ||
commands = | ||
coverage run --source=. -m pytest -v tests | ||
coverage report -m | ||
flake8 |