Skip to content

Commit

Permalink
test: Update tox to test building the package in a unique environment…
Browse files Browse the repository at this point in the history
… to prevent race conditions when running tox environments in parallel. (tektronix#155)

Signed-off-by: v12ganesh [email protected]
  • Loading branch information
nfelt14 authored Feb 28, 2024
1 parent 128e7d9 commit 8676ffa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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

0 comments on commit 8676ffa

Please sign in to comment.