diff --git a/.circleci/config.yml b/.circleci/config.yml index c974c8083..b75a26f3b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -58,11 +58,20 @@ jobs: - lua_modules - run: mkdir -p tmp/junit - run: $(make rover) exec make busted + - restore_cache: + keys: + - apicast-cpanm-{{ arch }}-{{ checksum "gateway/cpanfile" }} + - apicast-cpanm-{{ arch }}-{{ .Branch }} + - apicast-cpanm-{{ arch }}-master - run: command: /usr/libexec/s2i/entrypoint make prove environment: JUNIT_OUTPUT_FILE: tmp/junit/prove.xml HARNESS: TAP::Harness::JUnit + - save_cache: + key: apicast-cpanm-{{ arch }}-{{ checksum "gateway/cpanfile" }} + paths: + - ~/perl5 - store_test_results: path: tmp/junit - store_artifacts: