Skip to content

ci: start MySQL with systemctl - #96

Merged
msimerson merged 1 commit into
NicTool:mainfrom
aberoham:ci-mysql-systemctl
Nov 15, 2026
Merged

msimerson merged 1 commit into
NicTool:mainfrom
aberoham:ci-mysql-systemctl

Conversation

@aberoham

Copy link
Copy Markdown
Contributor

ubuntu-latest is now Ubuntu 26.04. It has no /etc/init.d/mysql. The ubuntu test jobs fail at their first step:

sudo: '/etc/init.d/mysql': command not found

main's last green CI ran on 24.04. api#94 and api#95 are the first PRs on 26.04, and every ubuntu job fails there.

The 26.04 image still ships MySQL 8.4 with root/root, and its readme starts it with sudo systemctl start mysql.service. 24.04 takes the same command. This changes the test job and the publish job.

The coverage job calls the shared workflow. It has the same line. NicTool/.github#9 fixes it there.

With both changes, CI and coverage passed on 26.04 runners in a fork.

Ubuntu 26.04, now ubuntu-latest, has no /etc/init.d/mysql. Its runner image still ships MySQL with root/root and documents systemctl to start it, which 24.04 takes too.
@msimerson
msimerson merged commit b569d21 into NicTool:main Nov 15, 2026
8 of 9 checks passed
@aberoham
aberoham deleted the ci-mysql-systemctl branch November 17, 2026 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants