Skip to content

Commit 049c425

Browse files
committed
Add mysqlclient dependency to address missing MySQLdb module
1 parent 847cbfa commit 049c425

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/beam_PostCommit_Python_Xlang_Gcp_Direct.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@ jobs:
8181
run: |
8282
sudo curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
8383
sudo chmod +x /usr/local/bin/docker-compose
84+
- name: Install mysql
85+
run: |
86+
sudo apt update --yes
87+
sudo apt install -y pkg-config libmysqlclient-dev
88+
pip install mysqlclient
8489
- name: run PostCommit Python Xlang Gcp Direct script
8590
uses: ./.github/actions/gradle-command-self-hosted-action
8691
with:
@@ -98,4 +103,4 @@ jobs:
98103
commit: '${{ env.prsha || env.GITHUB_SHA }}'
99104
comment_mode: ${{ github.event_name == 'issue_comment' && 'always' || 'off' }}
100105
files: '**/pytest*.xml'
101-
large_files: true
106+
large_files: true

0 commit comments

Comments
 (0)