From 9e55ef94f5bbd944607fcbcb81852e9037cc9a00 Mon Sep 17 00:00:00 2001 From: tchawou-daniel Date: Mon, 18 Jan 2021 18:36:16 +0100 Subject: [PATCH] :wrench: update .config/config.yml --- .circleci/config.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 932a8cb..855fbc2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -19,6 +19,15 @@ jobs: paths: - ./venv key: v3-dependencies-{{ checksum "requirements/dev.txt" }}-{{ checksum "requirements/prod.txt" }} + - run: + command: | + . venv/bin/activate + python manage.py test + - store_artifacts: + path: test-reports/ + destination: tr1 + - store_test_results: + path: test-reports/ start_test: docker: - image: circleci/python:3.7.4 @@ -71,6 +80,11 @@ jobs: docker tag app $DOCKER_HUB_USER/$DOCKER_HUB_APP:latest docker push $DOCKER_HUB_USER/$DOCKER_HUB_APP:$CIRCLE_BUILD_NUM docker push $DOCKER_HUB_USER/$DOCKER_HUB_APP:latest + - store_artifacts: + path: test-reports/ + destination: tr1 + - store_test_results: + path: test-reports/ workflows: version: 2.1 build_circleci: