接頭詞 p_n_ が1箇所抜けていたのを修正。 #1076
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: 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 |