From 9818c8519bc56cf186366e14966044cf7e9c0800 Mon Sep 17 00:00:00 2001 From: halalala222 <1741196223@qq.com> Date: Sun, 4 Aug 2024 16:42:28 +0800 Subject: [PATCH] ci: change IntegrationTest to a single job --- .github/workflows/go.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index d01e007..434a6b5 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -54,6 +54,15 @@ jobs: - name: Test run: go list ./... | grep -v "./cmd/client" | xargs go test -v + IntegrationTest: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: '1.18' + - name: Hash Structure Integration test run: go test -v -a -tags hash_integration ./cmd/client/... @@ -67,4 +76,4 @@ jobs: run: go test -v -a -tags string_integration ./cmd/client/... - name: ZSet Structure Integration test - run: go test -v -a -tags zset_integration ./cmd/client/... + run: go test -v -a -tags zset_integration ./cmd/client/... \ No newline at end of file