diff --git a/README.md b/README.md index 8d207b987dd1376538e6f954894ecf85a1b68291..aff674ef066d74cfb9a28ea6d0fb8e5c2df58f1a 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Jobs are run inside of docker containers. Each job has a docker build script and The image is built now and ready to be used by tasks. This image can be sanity-checked via (test implementation without minio-s3-parameter transport): - docker run -it --rm registry.example.com/group/project/image:local sanity-check + docker run -it --rm registry.example.com/group/project/image:local unit-test If you change code in `src`, you need to rebuild the image with `build/build_image.sh`. The `src` folder can also be mounted in the image, but the assumption is that life is already difficult as it is... diff --git a/jobs/a-job/unit-tests/test_a_job.py b/jobs/a-job/unit-tests/test_a_job.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/poetry.lock b/poetry.lock index b5d4ff79a458ba8e10fa514d06ce1efd562ca942..f60a2bbfb93a33331fe3efe10dd9d1d9712948ed 100644 --- a/poetry.lock +++ b/poetry.lock @@ -200,6 +200,17 @@ docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "pygments testing = ["build[virtualenv]", "filelock (>=3.4.0)", "flake8-2020", "ini2toml[lite] (>=0.9)", "jaraco.develop (>=7.21)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "pip (>=19.1)", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-mypy (>=0.9.1)", "pytest-perf", "pytest-ruff", "pytest-timeout", "pytest-xdist", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel"] testing-integration = ["build[virtualenv] (>=1.0.3)", "filelock (>=3.4.0)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "packaging (>=23.1)", "pytest", "pytest-enabler", "pytest-xdist", "tomli", "virtualenv (>=13.0.0)", "wheel"] +[[package]] +name = "toml" +version = "0.10.2" +description = "Python Library for Tom's Obvious, Minimal Language" +optional = false +python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" +files = [ + {file = "toml-0.10.2-py2.py3-none-any.whl", hash = "sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b"}, + {file = "toml-0.10.2.tar.gz", hash = "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f"}, +] + [[package]] name = "virtualenv" version = "20.25.0" @@ -234,4 +245,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = "~3.11" -content-hash = "79e1810a3524adfaaf1d9aa0a659f9dc3c9f35f46f7daa71963d06e011323054" +content-hash = "5fb55aa2f5c5160e3650939ca59c21d342f2bee64420bd35a7c8309184ed7a7c" diff --git a/pyproject.toml b/pyproject.toml index 5ec364b57e3ba51ee98d93ba29323d135b3e11e2..23d9dab37a245cb3b2d777b5e23e698d3b50119c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,6 +12,7 @@ python = "~3.11" ruff = "^0.0.267" pre-commit = "^3.3.1" yapf = "^0.32.0" +toml = "^0.10.2" [build-system] requires = ["poetry-core"] diff --git a/tasks/integration-tests/test_a_task.py b/tasks/integration-tests/test_a_task.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391