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

test: Update tox to test building the package in a unique environment to prevent race conditions when running tox environments in parallel. #155

Merged
merged 1 commit into from
Feb 28, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ __pycache__/
.Python
build/
develop-eggs/
dist/
dist*/
downloads/
eggs/
.eggs/
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ graphviz = ">=0.20.1"
http-server-mock = ">=1.7"
myst-parser = ">=0.19.1"
pip = ">=22.0"
poetry = ">=1.5.1"
poetry = ">=1.8.0"
pre-commit = ">=2.20.0"
pre-commit-update = ">=0.1.3"
pylint = {extras = ["spelling"], version = "3.1.0"} # Update this by running scripts/update_development_dependencies.py
Expand Down Expand Up @@ -423,8 +423,8 @@ commands =
!tests: pyright .
!tests: pyright --verifytypes tm_devices --ignoreexternal
!tests: pyroma .
!tests: poetry build
!tests: twine check --strict dist/*
!tests: poetry build --output=dist_{envname}
!tests: twine check --strict dist_{envname}/*
!tests: pre-commit run --all-files --show-diff-on-failure
pytest -vv -k "not test_docs" --showlocals --cov --junitxml={tox_root}/.results_{envname}/results.xml --cov-report=term --cov-report=xml:{tox_root}/.coverage_{envname}.xml --cov-report=html:{tox_root}/.results_{envname}/html --self-contained-html --html={tox_root}/.results_{envname}/results.html

Expand Down
Loading