aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--tox.ini10
2 files changed, 11 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e1557d9..ddb2afe 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,4 @@ e2e_config
mlia_output
report
.ipynb_checkpoints
+.tox
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..3838913
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,10 @@
+# SPDX-FileCopyrightText: Copyright 2022, Arm Limited and/or its affiliates.
+# SPDX-License-Identifier: Apache-2.0
+[tox]
+envlist = test
+
+[testenv:test]
+description = Run the unit tests.
+deps = pytest
+commands =
+ pytest {posargs:tests/}