Make mbstring ext is optional and replace with symfony polyfill #233
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: "Run Tests" | |
on: | |
push: | |
paths: | |
- 'src/**' | |
- 'tests/**' | |
- 'templates/**' | |
- 'config/**' | |
branches: | |
- master | |
pull_request: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
env: | |
APP_ENV: test | |
jobs: | |
tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- php: '8.1' | |
redis: '6' | |
- php: '8.3' | |
redis: '7' | |
name: PHP ${{ matrix.php }} | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: "Checkout" | |
uses: "actions/checkout@v3" | |
- name: "Install PHP" | |
uses: "shivammathur/setup-php@v2" | |
with: | |
coverage: "none" | |
extensions: "curl, mbstring, pdo, pdo_sqlite, sqlite, zip, redis" | |
php-version: ${{ matrix.php }} | |
tools: composer | |
- name: "Install dependencies" | |
run: composer update --ansi --no-interaction | |
- name: Start Redis | |
uses: "supercharge/[email protected]" | |
with: | |
redis-version: ${{ matrix.redis }} | |
- name: "Run tests" | |
run: "composer tests" |