Make all interface messages translatable #96
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
pull_request: | |
branches: | |
- '**' | |
env: | |
APP_ENV: test | |
# Match Toolforge's MariaDB version. | |
DATABASE_URL: mysql://root:[email protected]:3306/wscontest_tests?serverVersion=mariadb-10.1.48 | |
jobs: | |
build: | |
services: | |
mysql: | |
image: mysql:5.7 | |
env: | |
MYSQL_DATABASE: wscontest_tests | |
MYSQL_ROOT_PASSWORD: testpwd | |
ports: | |
- '3306:3306' | |
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 | |
strategy: | |
matrix: | |
php: [ '7.3', '7.4', '8.0', '8.1', '8.2' ] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Set up PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{matrix.php}} | |
extensions: pdo | |
- name: Install | |
run: | | |
composer install | |
./bin/console doctrine:migrations:migrate | |
npm ci | |
- name: Test | |
run: | | |
composer test | |
npm test |