Skip to content

Add Simplified Chinese translation #109

Add Simplified Chinese translation

Add Simplified Chinese translation #109

Workflow file for this run

# This workflow tests Sqitch's MySQL engine on all supported versions of
# MariaDB. It runs on pushes to branches matching `develop`, `**mysql**`,
# `**maria**`, and `**engine**` as well as pull requests.
name: 🦭 MariaDB
on:
push:
branches: [develop, "**engine**", "**mysql**", "**maria**"]
pull_request:
jobs:
MySQL:
strategy:
matrix:
# curl -s https://registry.hub.docker.com/v2/repositories/library/mariadb/tags\?page_size\=10000 | jq '.results[].name'
maria: [ '12.1', '12.0', '11.8', '11.7', '11.6', '11.5', '11.4', '11.3', '11.2', '11.1', '11.0', '10.11', '10.10', '10.9', '10.8', '10.7', '10.6', '10.5', '10.4', '10.3', '10.2', '10.1', '10.0' ]
name: 🦭 MariaDB ${{ matrix.maria }}
runs-on: ubuntu-latest
services:
# Run the MariaDB service in a container we can connect to. Means that the
# CLI and libraries DBD::MariaDB use are static to the version on the runner
# machine.
mysql:
image: mariadb:${{ matrix.maria }}
env: { MYSQL_ALLOW_EMPTY_PASSWORD: yes }
ports: [ 3306 ]
options: --health-cmd="healthcheck.sh --innodb_initialized || mysqladmin ping --protocol=tcp" --health-interval=5s --health-timeout=2s --health-retries=3
steps:
- uses: actions/checkout@v4
- name: Setup Clients
run: .github/ubuntu/mysql.sh
- name: Setup Perl
id: perl
uses: shogo82148/actions-setup-perl@v1
with: { perl-version: latest }
- name: Cache CPAN Modules
uses: actions/cache@v4
with:
path: local
key: perl-${{ steps.perl.outputs.perl-hash }}
- run: cpm install --top-level-phase configure,build,test,runtime --verbose --show-build-log-on-failure --no-test --top-level-relationship requires,recommends --cpanfile dist/cpanfile
- run: cpm install --top-level-phase configure,build,test,runtime --verbose --show-build-log-on-failure --no-test --top-level-relationship requires,recommends DBD::MariaDB
- name: prove
env:
PERL5LIB: "${{ github.workspace }}/local/lib/perl5"
LIVE_MYSQL_REQUIRED: true
SQITCH_TEST_MYSQL_URI: "db:mysql://root@127.0.0.1:${{ job.services.mysql.ports[3306] }}/information_schema"
run: prove -lvr t/mysql.t