Skip to content
This repository has been archived by the owner on Sep 17, 2023. It is now read-only.

Update README.md

Update README.md #4

Workflow file for this run

name: Testing
on: [pull_request, push]
jobs:
run:
runs-on: ${{ matrix.os }}-latest
strategy:
matrix:
# 1) All allowed OS
os: [ubuntu, windows, macOS]
# 2) All allowed PHP versions greater than 7.4
php: [7.4]
# 3) Lowest and highest dependency versions
prefer: ['lowest', 'highest']
name: ${{ matrix.os }} / PHP ${{ matrix.php }} / ${{ matrix.prefer }}
steps:
- name: Checkout
uses: actions/checkout@master
- name: PHP Installtion
uses: shivammathur/setup-php@master
with:
php-version: ${{ matrix.php }}
extension-csv: mbstring, dom, xsl, openssl, fileinfo
- name: Composer Installation (Prefer Lowest)
if: matrix.prefer == 'lowest'
run: composer update --no-interaction --prefer-dist --no-suggest --prefer-lowest
- name: Composer Installation (Prefer Highest)
if: matrix.prefer == 'highest'
run: composer update --no-interaction --prefer-dist --no-suggest
- name: Unit Testing
run: composer run phpunit