Skip to content

Commit

Permalink
added tox.ini file
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Kostecki <dkosteck@redhat.com>
Co-authored-by: Vishwanath Jayaraman <vjayaram@redhat.com>
Co-authored-by: Sagar Arora <sagar.arora@openairinterface.org>
Signed-off-by: Daniel Kostecki <dkosteck@redhat.com>
Signed-off-by: Vishwanath Jayaraman <vjayaram@redhat.com>
Signed-off-by: Sagar Arora <sagar.arora@openairinterface.org>
  • Loading branch information
3 people committed Feb 13, 2025
1 parent ad8f4fb commit 647eaf0
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions operators/o2ims-operator/tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[tox]
envlist = py311, lint

[testenv:py311]
deps =
-r requirements.txt
-r tests/unit_test_requirements.txt
pytest-cov
commands =
pytest --maxfail=1 --disable-warnings -q

# Lint environment for running code style checks
[testenv:lint]
# Dependencies for linting with flake8
deps =
flake8
commands =
flake8 controllers

0 comments on commit 647eaf0

Please sign in to comment.