From 07f2fbf91c7a9c38f8ca9720404730287ce5c1ba Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Ollivier?= Date: Sat, 10 Aug 2019 14:59:41 +0200 Subject: [PATCH] Run Functest K8s unit tests via CircleCI MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit It runs tox and published the artifacts. It's worth mentioning that all docker images are already built via Travis CI (amd64, arm and arm64) [1]. https://travis-ci.org/collivier/functest-kubernetes Change-Id: I668481c123adfbfddb4f41feec1ebcec7c75f85d Signed-off-by: Cédric Ollivier (cherry picked from commit 46a867f6d7aa73af6728fcf459ec76150103f5cb) --- .circleci/config.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000..ee82509a --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,20 @@ +--- +version: 2 +jobs: + build: + docker: + - image: circleci/python:3.6.9 + steps: + - checkout + - run: + name: Install dependendencies + command: sudo apt-get install python2.7-dev + - run: + name: Run tox + command: sudo pip install tox && tox + - store_artifacts: + path: cover + destination: cover + - store_artifacts: + path: coverage.xml + destination: coverage.xml -- 2.16.6