From 301bb33a79e5e2cb5b05695b07e07c239a08d099 Mon Sep 17 00:00:00 2001 From: Tommy Carpenter Date: Fri, 31 May 2019 10:40:40 -0400 Subject: [PATCH] Run tox in docker build Change-Id: I63185e963df2ec19edeebe8d7236bdf2fbc027c9 Signed-off-by: Tommy Carpenter --- Dockerfile | 8 +++++++- docs/release-notes.rst | 9 +++++++++ setup.py | 2 +- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8b44500..3005c06 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,10 +26,16 @@ RUN git checkout a012cf63dfdad3656c995cb06c316fd208c63b98 RUN mkdir .build; cd .build; cmake ..; make install # Install python-rmr -RUN pip install --upgrade pip +RUN pip install --upgrade pip #install a1 WORKDIR /tmp + +# Run our unit tests +RUN pip install tox +RUN tox + +# do the actual install RUN pip install . EXPOSE 10000 diff --git a/docs/release-notes.rst b/docs/release-notes.rst index 66c11a1..a1bc0ae 100644 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -24,6 +24,15 @@ The format is based on `Keep a Changelog `__ and this project adheres to `Semantic Versioning `__. +[0.8.1] - 5/31/2019 +------------------- + +:: + + * Run unit tests as part of docker build + + + [0.8.0] - 5/28/2019 ------------------- diff --git a/setup.py b/setup.py index 6050ba9..d2ac038 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ from setuptools import setup, find_packages setup( name="a1", - version="0.8.0", + version="0.8.1", packages=find_packages(exclude=["tests.*", "tests"]), author="Tommy Carpenter", description="RIC A1 Mediator for policy/intent changes", -- 2.16.6