👷 Separate database test into different tags and enable default test CI.

This commit is contained in:
kiyon
2020-11-03 08:59:29 +08:00
parent f927b040f4
commit 34441f5b7c
8 changed files with 14 additions and 4 deletions
+2 -2
View File
@@ -40,9 +40,9 @@ jobs:
- name: Fetch Repository
uses: actions/checkout@v2
- name: Run Test
run: go test ./mysql -v -race
run: go test ./mysql -tags=mysql -v -race
env:
MYSQL_ADDRESS: "127.0.0.1:3306"
MYSQL_USERNAME: username
MYSQL_PASSWORD: password
MYSQL_DATABASE: fiber
MYSQL_DATABASE: fiber