GitHub Actions で MySQL を使う [日記]
https://nakagami.blog.ss-blog.jp/2021-02-06 の続き
MySQL 8.0 の場合、この回答
https://stackoverflow.com/questions/58222386/github-actions-using-mysql-service-throws-access-denied-for-user-rootlocalh
MySQL 5.7 の場合、これを参考にすれば良さそう
https://freek.dev/1590-how-to-use-a-mysql-database-on-github-actions
PyMySQL では、 データーベースサーバーのバージョンと Python のバージョンのマトリックスで、ちゃんとやっている
https://github.com/PyMySQL/PyMySQL/blob/master/.github/workflows/test.yaml
PyMySQL みたいにちゃんとやるのは大変そうなので、MySQL 8.0 でだけテストするようにした。
https://github.com/nakagami/CyMySQL/blob/master/.github/workflows/test.yml
これで、CyMySQL が travis-ci から脱却できた。ありがとう travis-ci
MySQL 8.0 の場合、この回答
https://stackoverflow.com/questions/58222386/github-actions-using-mysql-service-throws-access-denied-for-user-rootlocalh
MySQL 5.7 の場合、これを参考にすれば良さそう
https://freek.dev/1590-how-to-use-a-mysql-database-on-github-actions
PyMySQL では、 データーベースサーバーのバージョンと Python のバージョンのマトリックスで、ちゃんとやっている
https://github.com/PyMySQL/PyMySQL/blob/master/.github/workflows/test.yaml
PyMySQL みたいにちゃんとやるのは大変そうなので、MySQL 8.0 でだけテストするようにした。
https://github.com/nakagami/CyMySQL/blob/master/.github/workflows/test.yml
これで、CyMySQL が travis-ci から脱却できた。ありがとう travis-ci
コメント 0