Skip to content

Commit

Permalink
Final clean up for today?
Browse files Browse the repository at this point in the history
  • Loading branch information
fwitte committed Jun 27, 2024
1 parent 7d3dae0 commit e137c83
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tox_pytests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox tox-gh-actions
python -m pip install tox tox-gh-actions coverage converalls
- name: Test with tox
run: tox

Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ docs = [
]
test = [
"coverage",
"coveralls",
"matplotlib",
"pytest",
]
Expand Down
26 changes: 1 addition & 25 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ envlist =
py39,
py310,
py311,
py3-cover,
pypy3,
report

Expand All @@ -18,16 +17,14 @@ python =

[testenv]
basepython =
{bootstrap,clean,check,report,docs,codecov,coveralls}: {env:TOXPYTHON:python3}
{clean,check,report,docs}: {env:TOXPYTHON:python3}
extras =
test
setenv =
PYTHONPATH={toxinidir}/tests
PYTHONUNBUFFERED=yes
passenv =
*
deps =
pytest
commands =
{posargs:pytest -vv --ignore=src}

Expand All @@ -43,20 +40,13 @@ commands =
flake8 src tests
isort --check-only --profile black --diff src tests


[testenv:docs]
usedevelop = true
extras = docs
commands =
sphinx-build {posargs:-E} -b html docs docs/_build
sphinx-build -b linkcheck docs docs/_build

[testenv:coveralls]
deps = coveralls
skip_install = true
commands =
coveralls []

[testenv:report]
deps = coverage
skip_install = true
Expand All @@ -78,7 +68,6 @@ usedevelop = true
commands =
{posargs:pytest --cov --cov-report=term-missing -vv}
deps =
{[testenv]deps}
pytest-cov

[testenv:py310]
Expand All @@ -89,7 +78,6 @@ usedevelop = true
commands =
{posargs:pytest --cov --cov-report=term-missing -vv}
deps =
{[testenv]deps}
pytest-cov

[testenv:py311]
Expand All @@ -100,18 +88,6 @@ usedevelop = true
commands =
{posargs:pytest --cov --cov-report=term-missing -vv}
deps =
{[testenv]deps}
pytest-cov

[testenv:py3-cover]
basepython = {env:TOXPYTHON:python3}
setenv =
{[testenv]setenv}
usedevelop = true
commands =
{posargs:pytest --cov --cov-report=term-missing -vv}
deps =
{[testenv]deps}
pytest-cov

[testenv:pypy3-nocov]
Expand Down

0 comments on commit e137c83

Please sign in to comment.