Skip to content

Commit

Permalink
ci: use mysql image that supports arm
Browse files Browse the repository at this point in the history
  • Loading branch information
machow committed Apr 23, 2022
1 parent 003cded commit a4fa75d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
run: |
make test-travis
env:
SB_TEST_PGPORT: 5432
SB_TEST_PGPORT: 5433
PYTEST_FLAGS: ${{ matrix.pytest_flags }}

# optional step for running bigquery tests ----
Expand Down
5 changes: 3 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ version: '3.1'
services:

db_mysql:
image: mysql
image: mysql/mysql-server
restart: always
environment:
MYSQL_ROOT_HOST: "%"
MYSQL_ROOT_PASSWORD: ""
MYSQL_ALLOW_EMPTY_PASSWORD: 1
MYSQL_DATABASE: "public"
Expand All @@ -21,4 +22,4 @@ services:
POSTGRES_PASSWORD: ""
POSTGRES_HOST_AUTH_METHOD: "trust"
ports:
- 5432:5432
- 5433:5432
2 changes: 1 addition & 1 deletion siuba/tests/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def data_frame(*args, _index = None, **kwargs):
"dialect": "postgresql",
"driver": "",
"dbname": ["SB_TEST_PGDATABASE", "postgres"],
"port": ["SB_TEST_PGPORT", "5432"],
"port": ["SB_TEST_PGPORT", "5433"],
"user": ["SB_TEST_PGUSER", "postgres"],
"password": ["SB_TEST_PGPASSWORD", ""],
"host": ["SB_TEST_PGHOST", "localhost"],
Expand Down

0 comments on commit a4fa75d

Please sign in to comment.