Skip to content

テキスト整形。 #1074

テキスト整形。

テキスト整形。 #1074

name: Continuous Integration
on:
push:
branches:
- '**'
workflow_dispatch: { }
env:
PHP_VERSION: 8.1
jobs:
unit-tests:
runs-on: ubuntu-latest
env:
PHP_EXTENSIONS: none, curl, dom, json, libxml, mbstring, openssl, phar, soap, tokenizer, xml, xmlwriter
PHP_INI_VALUES: memory_limit=-1, assert.exception=1, zend.assertions=1, error_reporting=-1, log_errors_max_len=0, display_errors=On
strategy:
matrix:
php-version:
- '8.0'
- '8.1'
- '8.2'
- '8.3'
steps:
- uses: actions/checkout@v3
- name: Install PHP with extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: ${{ env.PHP_EXTENSIONS }}
ini-values: ${{ env.PHP_INI_VALUES }}
tools: composer:v2
- run: composer install
- name: Run tests with phpunit
run: ./vendor/bin/phpunit tests --coverage-text