From a44452df20b4ba79f38b65ac2c6334d0e9e4afe9 Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Wed, 23 Jun 2021 15:44:02 +0200 Subject: [PATCH] Refactor sigv4 in tests use CD to be independant of CI tags and show in CircleCI which step is failing. Signed-off-by: Julien Pivotto --- .circleci/config.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5d180347..b1ae511c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -26,24 +26,17 @@ jobs: - go/load-cache: key: v1-go<< parameters.go_version >> - run: make test + - run: cd sigv4 && make test - when: condition: << parameters.run_style >> steps: - run: make style - - when: - condition: << parameters.run_style >> - steps: - - run: - command: make style - working_directory: /go/src/github.com/prometheus/common/sigv4 + - run: cd sigv4 && make style - when: condition: << parameters.use_gomod_cache >> steps: - go/save-cache: key: v1-go<< parameters.go_version >> - - run: - command: make test - working_directory: /go/src/github.com/prometheus/common/sigv4 - store_test_results: path: test-results