From 5f1e498454bee4911d324484daa277a5585dc123 Mon Sep 17 00:00:00 2001 From: daief <1437931235@qq.com> Date: Thu, 19 May 2022 13:09:50 +0800 Subject: [PATCH] chore: fix release.yml --- .github/workflows/release.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2131f56..8324e80 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,8 +33,17 @@ jobs: go get - name: Enable Go 1.11 modules + if: runner.os == 'Windows' run: cmd /c "set GO111MODULE=on" + - name: Unit Tests + run: go test ./... -run ./... + + - name: API Tests + run: | + npm -g install newman + ./testing/run_api_tests.sh + - name: Build run: go build -v .