修复单元测试

This commit is contained in:
xmdhs 2023-10-12 19:30:06 +08:00
parent 230e47d1f6
commit 1e5e670852
No known key found for this signature in database
GPG Key ID: E809D6D43DEFCC95

View File

@ -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