From 1e5e670852318cab501b4f38de8805d59b5fc70e Mon Sep 17 00:00:00 2001 From: xmdhs Date: Thu, 12 Oct 2023 19:30:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8D=95=E5=85=83=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e6612d0..eec7ca3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -24,8 +24,12 @@ jobs: run: | bash build.sh + - name: start mysql + run: | + sudo systemctl start mysql.service + - name: Test - run: go test -race -v ./... + run: go test -tags="redis,sqlite" -race -v ./... - name: Upload a Build Artifact uses: actions/upload-artifact@v2