diff options
author | Benjamin Klimczak <benjamin.klimczak@arm.com> | 2022-08-05 17:34:56 +0100 |
---|---|---|
committer | Benjamin Klimczak <benjamin.klimczak@arm.com> | 2022-08-09 13:34:52 +0100 |
commit | 76ec769ad8f8ed53ec3ff829fdd34d53db8229fd (patch) | |
tree | 13779d89ab366c3c9f049ffcabab82cb48a3c395 | |
parent | 58311aa2b40a931e476799f38b50baa811bd0dd9 (diff) | |
download | mlia-76ec769ad8f8ed53ec3ff829fdd34d53db8229fd.tar.gz |
MLIA-541 Use tox to run unit tests
Add tox.ini to easily run unit tests with different Python versions.
Change-Id: I2153cc7d1eaf49cad9739b6d797e4a6706679c7e
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | tox.ini | 10 |
2 files changed, 11 insertions, 0 deletions
@@ -13,3 +13,4 @@ e2e_config mlia_output report .ipynb_checkpoints +.tox @@ -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/} |