From d114fcbee8a10f7ed878361b361c0eb38b45e014 Mon Sep 17 00:00:00 2001 From: CircleCI Config Suggestions Bot <131677722+CircleCI-config-suggestions-bot@users.noreply.github.com> Date: Tue, 16 May 2023 10:07:09 -0400 Subject: [PATCH] Upload test results to CircleCI --- .circleci/config.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d4b5942a..37fbb09e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,7 +16,7 @@ jobs: # Download and cache dependencies - restore_cache: keys: - - go-mod-{{ checksum "go.sum" }} + - go-mod-{{ checksum "go.sum" }} - run: name: Download module dependencies @@ -64,7 +64,7 @@ jobs: - restore_cache: keys: - - go-mod-{{ checksum "go.sum" }} + - go-mod-{{ checksum "go.sum" }} - run: name: Install dockerize for health check mysql status @@ -81,7 +81,7 @@ jobs: dockerize -wait tcp://${MYSQL_HOST}:3306 -timeout 30s # run tests! - - run: go test ./... + - run: gotestum --junitfile test-results/junit.xml ./... build_and_deploy: docker: @@ -157,12 +157,12 @@ jobs: docker build -t gcr.io/coastal-run-106202/${APP}:$PKG_VER . gcloud auth print-access-token | docker login -u oauth2accesstoken --password-stdin https://gcr.io docker push gcr.io/coastal-run-106202/${APP}:$PKG_VER - + - run: name: Fetch Kubernetes config source command: | gcloud source repos clone ${K8S_CONFIG_REPO} - + - run: name: Install kustomize binaries command: |