Skip to content

Commit

Permalink
Add Tox
Browse files Browse the repository at this point in the history
Add Tox as infrastructure to run various Python checks. For now,
add pytest to run all DRC verification tests.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
  • Loading branch information
dnltz committed Nov 11, 2024
1 parent 02dc43e commit b93ac74
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
4 changes: 4 additions & 0 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
iniconfig==2.0.0
packaging==24.2
pluggy==1.5.0
pytest==8.3.3
19 changes: 19 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[tox]
envlist = py312-test
minversion = v4.0

[testenv:{py39,py310,py311,py312}-test]
basepython =
py39: python3.9
py310: python3.10
py311: python3.11
py312: python3.12
setenv =
py39: PREFIX = py39-
py310: PREFIX = py310-
py311: PREFIX = py311-
py312: PREFIX = py312-
deps =
test: -rrequirements-test.txt
commands =
test: pytest ihp-sg13g2/libs.tech/klayout/tech/drc/tests

0 comments on commit b93ac74

Please sign in to comment.