修复单元测试
This commit is contained in:
parent
230e47d1f6
commit
1e5e670852
6
.github/workflows/ci.yaml
vendored
6
.github/workflows/ci.yaml
vendored
@ -24,8 +24,12 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
bash build.sh
|
bash build.sh
|
||||||
|
|
||||||
|
- name: start mysql
|
||||||
|
run: |
|
||||||
|
sudo systemctl start mysql.service
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: go test -race -v ./...
|
run: go test -tags="redis,sqlite" -race -v ./...
|
||||||
|
|
||||||
- name: Upload a Build Artifact
|
- name: Upload a Build Artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user