From 02d2d24df03357470e3bda53a0fa73a8046a7d20 Mon Sep 17 00:00:00 2001 From: Drew Robinson Date: Fri, 22 Dec 2023 07:38:41 +0800 Subject: [PATCH] Update CircleCI config Updating to latest Go 1.20.x, adding suggested test runner from CircleCI Go config --- .circleci/config.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index aad789d..747b9b4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,10 +1,6 @@ version: 2.1 orbs: - go: circleci/go@1.7.3 -workflows: - main: - jobs: - - build + go: circleci/go@1.10.0 jobs: build: @@ -53,3 +49,15 @@ jobs: - run: name: Run functional tests. command: ./ahoy test + - run: + name: Run tests + command: | + mkdir -p /tmp/test-reports + gotestsum --junitfile /tmp/test-reports/unit-tests.xml + - store_test_results: + path: /tmp/test-reports + +workflows: + main: + jobs: + - build