Skip to content

Commit

Permalink
Debugging GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianswms committed Aug 16, 2023
1 parent 62d3cd4 commit 0b10c22
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,16 @@ jobs:
- name: Fix Permissions
run: |
chmod 777 -R ./ssh_tunnel/ssh-server-config
- name: Debugging GitHub actions
run: |
sudo apt-get update
sudo apt-get install libmysqlclient-dev
- name: Set up MySQL containers (SSH Included)
run: |
docker compose -f docker-compose.yml up -d
- name: Debugging GitHub actions
run: |
sudo find / -type s
- uses: isbang/[email protected]

- name: Set up Python ${{ matrix.python-version }}
Expand Down
4 changes: 2 additions & 2 deletions tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@

SAMPLE_CONFIG = {
"start_date": pendulum.datetime(2022, 11, 1).to_iso8601_string(),
"sqlalchemy_url": f"mysql+mysqldb://root:password@localhost:3306/melty",
"sqlalchemy_url": f"mysql+mysqldb://root:password@127.0.0.1:3306/melty",
}

NO_SQLALCHEMY_CONFIG = {
"start_date": pendulum.datetime(2022, 11, 1).to_iso8601_string(),
"host": "localhost",
"host": "127.0.0.1",
"port": 3306,
"user": "root",
"password": "password",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_replication_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
TABLE_NAME = "test_replication_key"
SAMPLE_CONFIG = {
"start_date": pendulum.datetime(2022, 11, 1).to_iso8601_string(),
"sqlalchemy_url": f"mysql+mysqldb://root:password@localhost:3306/melty",
"sqlalchemy_url": f"mysql+mysqldb://root:password@127.0.0.1:3306/melty",
}


Expand Down
2 changes: 1 addition & 1 deletion tests/test_selected_columns_only.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

TABLE_NAME_SELECTED_COLUMNS_ONLY = "test_selected_columns_only"
SAMPLE_CONFIG = {
"sqlalchemy_url": f"mysql+mysqldb://root:password@localhost:3306/melty",
"sqlalchemy_url": f"mysql+mysqldb://root:password@127.0.0.1:3306/melty",
}


Expand Down

0 comments on commit 0b10c22

Please sign in to comment.