-
Notifications
You must be signed in to change notification settings - Fork 570
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: test all supported engines on their oldest supported releases (#…
…1050) * test: test all supported engines on their oldest supported releases * update pre-hook file * update mysql container options
- Loading branch information
Showing
5 changed files
with
78 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,11 @@ | ||
#!/bin/zsh -e | ||
|
||
golint -set_exit_status ./... | ||
go mod tidy -v | ||
docker compose up -d mysql mariadb postgres | ||
|
||
export SHIORI_TEST_PG_URL="postgres://shiori:shiori@localhost:5432/shiori?sslmode=disable" | ||
export SHIORI_TEST_MYSQL_URL="shiori:shiori@(localhost:3306)/shiori" | ||
export SHIORI_TEST_MARIADB_URL="shiori:shiori@(localhost:3307)/shiori" | ||
|
||
make lint | ||
|
||
make unittest GOTESTFMT_FLAGS="-hide all" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters