Skip to content

Commit

Permalink
tox
Browse files Browse the repository at this point in the history
  • Loading branch information
spacemanspiff2007 committed Oct 18, 2024
1 parent 3e151c9 commit c11603b
Showing 1 changed file with 16 additions and 18 deletions.
34 changes: 16 additions & 18 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ python =
3.12: py312, slotscheck


; [testenv]
; deps =
; -r{toxinidir}/requirements.txt
;
; commands =
; python -m pytest
[testenv]
deps =
-r{toxinidir}/requirements.txt

commands =
python -m pytest


[testenv:slotscheck]
Expand All @@ -29,23 +29,21 @@ deps =
slotscheck
change_dir = {toxinidir}/src
commands =
python -m slotscheck HABApp
python -m slotscheck HABApp --verbose


# Environment variable CI from github actions
pass_env = CI
[testenv:docs]
description = invoke sphinx-build to build the HTML docs

deps =
{[testenv]deps}
-r{toxinidir}/docs/requirements.txt

; [testenv:docs]
; description = invoke sphinx-build to build the HTML docs
;
; deps =
; {[testenv]deps}
; -r{toxinidir}/docs/requirements.txt
;
; commands =
; sphinx-build -d "{toxworkdir}/docs_doctree" docs "{toxworkdir}/docs_out" --color -bhtml {posargs}
commands =
sphinx-build -d "{toxworkdir}/docs_doctree" docs "{toxworkdir}/docs_out" --color -bhtml {posargs}

# Environment variable CI from github actions
pass_env = CI


[pytest]
Expand Down

0 comments on commit c11603b

Please sign in to comment.