From a64d4075b2f4a43ed4fa460178fed21e476752e5 Mon Sep 17 00:00:00 2001 From: Martin-Belton-gov Date: Tue, 5 Dec 2023 11:08:59 +0000 Subject: [PATCH] Added Step to run GO unit tests --- .github/workflows/release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 42e38cb..381e663 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -90,6 +90,11 @@ jobs: mage -v build:linux working-directory: ${{ github.workspace }}/dfe-azurecostbackend-datasource + - name: Run Go unit tests + if: steps.check-for-backend.outputs.has-backend == 'true' + run: go test ./... + working-directory: /home/runner/work/Grafana.Plugin.CostManagement/Grafana.Plugin.CostManagement/dfe-azurecostbackend-datasource + # - name: Warn missing Grafana access policy token # run: | # echo Please generate a Grafana access policy token: https://grafana.com/developers/plugin-tools/publish-a-plugin/sign-a-plugin#generate-an-access-policy-token