Fix admin username underscore #127
Workflow file for this run
This file contains hidden or 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:testpwd@127.0.0.1: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: [ '8.2', '8.3' ] | |
| 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 |