Skip to content

Replace gsplit with split on mac. #16

Replace gsplit with split on mac.

Replace gsplit with split on mac. #16

Workflow file for this run

name: CI
env:
CI: true
on: [push]
jobs:
build-test:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: ['ubuntu-latest', 'macos-latest']
php-versions: ['7.4', '8.0', '8.1']
name: ${{ matrix.operating-system }} (PHP ${{ matrix.php-versions }})
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Libraries
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
sudo apt-get install diffutils exiftool
elif [ "$RUNNER_OS" == "macOS" ]; then
brew install coreutils
elif [ "$RUNNER_OS" == "Windows" ]; then
choco install important_windows_software
fi
shell: bash
- name: PHP
uses: shivammathur/setup-php@v2
with:
php-version: '${{ matrix.php-versions }}'
extensions: gd
tools: composer, phpunit
- name: Composer
run: composer install --no-interaction
- name: PHPUnit
run: ./vendor/bin/phpunit