Skip to content

Commit

Permalink
Merge pull request #45 from ARYAN-NIKNEZHAD/chore/tox-config
Browse files Browse the repository at this point in the history
🔧  Add-tox-config
  • Loading branch information
sepehr-akbarzadeh authored Aug 25, 2024
2 parents 2223382 + eab9ef7 commit f0399c9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
coverage run -m pytest
- name: Generate coverage report
run: coverage xml
- name: Run Tox tests
run: tox
- name: Upload coverage to Codecov
run: codecov
env:
Expand Down
21 changes: 21 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[tox]
envlist =
py38, py39, py310, py311, py312

[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312

[testenv]
description = Run Pytest tests
usedevelop = True
deps =
pytest
pytest-cov

commands =
pytest --cov

0 comments on commit f0399c9

Please sign in to comment.