From 4d9890c04566609d04520da5ee586de0f5bb0ba9 Mon Sep 17 00:00:00 2001 From: Ludovic Claude Date: Thu, 23 May 2019 11:03:19 +0200 Subject: [PATCH] [CI] Add integration_tests step to workflow --- .circleci/config.yml | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a89f20dc..ef94e869 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -45,6 +45,24 @@ jobs: docker cp ${id}:/build/target/test-reports/ . cp ./test-reports/TEST-*.xml ./test-results/unit-tests/ docker rm -vf $id + - store_test_results: + path: test-results/ + - store_artifacts: + path: test-results/ + destination: test-results + + integration_tests: + docker: + - image: hbpmip/docker-compose-for-ci:18.09-5 + environment: + - CIRCLECI: true + steps: + - setup_remote_docker: + version: 18.06.0-ce + - checkout + - restore_cache: + keys: + - pre-commit-dot-cache-$CACHE_VERSION-{{ checksum ".pre-commit-config.yaml" }} - run: name: "Run integration tests" command: ./tests/ci.sh --all @@ -83,4 +101,9 @@ workflows: all: jobs: - build - - security_checks + - integration_tests: + requires: + - build + - security_checks: + requires: + - build