Implement ArrayMergeBuilder
, LengthBuilder
, LongestBuilder
and ShortestBuilder
#95
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
on: | |
pull_request: | |
paths: | |
- 'src/**' | |
- 'tests/**' | |
- '.github/workflows/build-2017.yml' | |
- 'composer.json' | |
- 'phpunit.xml.dist' | |
push: | |
branches: ['master'] | |
paths: | |
- 'src/**' | |
- 'tests/**' | |
- '.github/workflows/build-2017.yml' | |
- 'composer.json' | |
- 'phpunit.xml.dist' | |
name: build-2017 | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
tests: | |
name: MSSQL 2017 (Windows) | |
env: | |
COMPOSER_ROOT_VERSION: 1.0.0 | |
EXTENSIONS: pdo, pdo_sqlsrv | |
runs-on: windows-latest | |
steps: | |
- name: Install SQL Server on Windows. | |
run: choco install sql-server-express --version=2017.20190916 -y --no-progress --ia="'/Q /SUPPRESSPRIVACYSTATEMENTNOTICE /IACCEPTSQLSERVERLICENSETERMS /ACTION=install /INSTANCEID=MSSQLSERVER /INSTANCENAME=MSSQLSERVER /UPDATEENABLED=FALSE /SECURITYMODE=SQL /TCPENABLED=1 /SAPWD=YourStrong!Passw0rd'" | |
- name: Create database. | |
run: sqlcmd -S localhost -U SA -P 'YourStrong!Passw0rd' -Q 'CREATE DATABASE yiitest' | |
- name: Checkout. | |
uses: actions/checkout@v4 | |
- name: Install PHP with extensions. | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.4 | |
extensions: ${{ env.EXTENSIONS }} | |
ini-values: date.timezone='UTC' | |
coverage: pcov | |
- name: Update composer. | |
run: composer self-update | |
- name: Install db. | |
uses: yiisoft/actions/install-packages@master | |
with: | |
packages: >- | |
['db'] | |
- name: Run tests with phpunit with code coverage. | |
run: vendor/bin/phpunit --coverage-clover=coverage.xml --colors=always --display-warnings --display-deprecations |