-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix transactions again and update tests
- Loading branch information
1 parent
e0b1564
commit 39e1119
Showing
6 changed files
with
81 additions
and
42 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 |
---|---|---|
|
@@ -21,17 +21,7 @@ jobs: | |
- x64 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: getong/[email protected] | ||
with: | ||
host port: 3306 # Optional, default value is 3306. The port of host | ||
container port: 3306 # Optional, default value is 3306. The port of container | ||
character set server: 'utf8mb4' # Optional, default value is 'utf8mb4'. The '--character-set-server' option for mysqld | ||
collation server: 'utf8mb4_general_ci' # Optional, default value is 'utf8mb4_general_ci'. The '--collation-server' option for mysqld | ||
mariadb version: 'latest' # Optional, default value is "latest". The version of the MariaDB | ||
mysql database: 'mysqltest' # Optional, default value is "test". The specified database which will be create | ||
mysql root password: '' # Required if "mysql user" is empty, default is empty. The root superuser password | ||
# mysql user: 'developer' # Required if "mysql root password" is empty, default is empty. The superuser for the specified database. Can use secrets, too | ||
# mysql password: ${{ secrets.DatabasePassword }} # Required if "mysql user" exists. The password for the "mysql user" | ||
- run: docker compose up -d | ||
- uses: julia-actions/setup-julia@v1 | ||
with: | ||
version: ${{ matrix.version }} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
version: "3.9" | ||
name: "mysqljl-test" | ||
services: | ||
db: | ||
image: mysql:8 | ||
ports: | ||
- 3306:3306 | ||
environment: | ||
MYSQL_ALLOW_EMPTY_PASSWORD: true | ||
healthcheck: | ||
test: | ||
[ | ||
"CMD", | ||
"mysql", | ||
"-u", | ||
"root", | ||
"-p''", | ||
"--silent", | ||
"--execute", | ||
"SELECT 1;", | ||
] | ||
interval: 30s | ||
timeout: 10s | ||
retries: 5 | ||
networks: | ||
- app | ||
networks: | ||
app: | ||
driver: bridge |
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