From 301556868d0d6efba224b6a603c2d068f932ca0e Mon Sep 17 00:00:00 2001 From: Siyuan Miao Date: Fri, 16 May 2025 19:49:25 +0200 Subject: [PATCH] chore: run go test on github actions --- .github/workflows/build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b31041f..e860290 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,6 +32,13 @@ jobs: - name: Build application run: | make build_dev + - name: Run tests + run: | + go test ./... -json > testreport.json + - name: Golang Test Report + uses: becheran/go-testreport@v0.3.2 + with: + output: "testreport.json" - name: Upload artifact uses: actions/upload-artifact@v4 with: