Skip to content

Commit 2a6a7e0

Browse files
CopilotArchmonger
andcommitted
Update CI to use setup-mysql action and refactor MySQL live tests to match PostgreSQL pattern
Co-authored-by: Archmonger <[email protected]>
1 parent d7d477d commit 2a6a7e0

File tree

2 files changed

+215
-120
lines changed

2 files changed

+215
-120
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,10 @@ jobs:
116116
PGSERVICE: postgres
117117
- name: Setup MySQL
118118
if: matrix.os == 'ubuntu-latest'
119-
run: |
120-
sudo systemctl start mysql
121-
sudo mysql -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '';"
122-
mysql -u root -e "SELECT VERSION();"
119+
uses: kayqueGovetri/[email protected]
120+
with:
121+
mysql-version: "8.0"
122+
mysql-root-password: "root"
123123
- name: Run functional tests
124124
run: hatch run functional:all -v
125125

0 commit comments

Comments
 (0)