Skip to content

updates adding tests in and updating readme/composer file #1

updates adding tests in and updating readme/composer file

updates adding tests in and updating readme/composer file #1

Workflow file for this run

name: Tests
on:
push:
branches: [ master, main ]
pull_request:
branches: [ master, main ]
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
php: ['8.2', '8.3', '8.4']
include:
- os: windows-latest
php: '8.2'
name: PHP ${{ matrix.php }} - ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: mbstring
coverage: none
- name: Install dependencies
run: composer install --prefer-dist --no-interaction --no-progress
- name: Run tests
run: vendor/bin/phpunit --no-coverage