Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: remove commented-out CI jobs #27

Merged
merged 1 commit into from
Oct 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 0 additions & 70 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -334,73 +334,3 @@ python = """
3.12: py312, coveralls, docs, package
3.13: py313
"""

[tool.tox1]
legacy_tox_ini = """
[tox]
env_list = {py311, py312}, coveralls, docs, package
isolated_build = true
no_package = false
requires =
tox>4
skip_missing_interpreters = true


[gh-actions]
python =
3.11: py311
3.12: py312, coveralls, docs, package


[testenv]
commands =
ruff check .
ruff format --check .
pyright .
coverage erase
pytest {posargs:.}
coverage html
deps =
.
description = test and lint the project
download = true
extras =
test
set_env =
PYTHONPATH = {toxinidir}/src
PYRIGHT_PYTHON_FORCE_VERSION = latest


;If running outside Github, ensure that the the `COVERALLS_REPO_TOKEN`
;environment variable is set.
[testenv:coveralls]
commands =
coveralls --service=github
description = submit coverage results to coverall.io
extras =
test
pass_env =
COVERALLS_REPO_TOKEN
GITHUB_*


[testenv:docs]
changedir = docs
commands =
sphinx-build -EW --keep-going -b html . {toxinidir}/docs/build/html
sphinx-lint -i api
description = build sphinx documentation
extras =
docs


[testenv:package]
commands =
python -c "import shutil; shutil.rmtree('dist', ignore_errors=True)"
python -m build
depends = testenv
deps =
build
description = build the library
skip_install = true
"""