From 2d8b622eb3b58b61d541e2731cbf120a74e192b4 Mon Sep 17 00:00:00 2001 From: Erik Reid <erik.reid@geant.org> Date: Wed, 15 Mar 2023 09:37:56 +0100 Subject: [PATCH] vanilla tox config --- geant_service_orchestrator/__init__.py | 0 requirements.txt | 2 ++ test/test_placeholder.py | 4 ++++ tox.ini | 18 ++++++++++++++++++ 4 files changed, 24 insertions(+) create mode 100644 geant_service_orchestrator/__init__.py create mode 100644 test/test_placeholder.py create mode 100644 tox.ini diff --git a/geant_service_orchestrator/__init__.py b/geant_service_orchestrator/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/requirements.txt b/requirements.txt index 0ec76021..5b078767 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,3 @@ orchestrator-core + +pytest diff --git a/test/test_placeholder.py b/test/test_placeholder.py new file mode 100644 index 00000000..fb0fd661 --- /dev/null +++ b/test/test_placeholder.py @@ -0,0 +1,4 @@ +# just a placeholder to be able to run tests during ci + +def test_placeholder(): + pass diff --git a/tox.ini b/tox.ini new file mode 100644 index 00000000..733d4a37 --- /dev/null +++ b/tox.ini @@ -0,0 +1,18 @@ +[flake8] +exclude = venv,.tox, migrations + +[testenv] +deps = + coverage + flake8 + -r requirements.txt + +commands = + coverage erase + coverage run --source geant_service_orchestrator -m pytest {posargs} + coverage xml + coverage html + # coverage report --fail-under 80 + coverage report + flake8 + -- GitLab