Skip to content

Add badge to readme. #2

Add badge to readme.

Add badge to readme. #2

Workflow file for this run

name: Tests
on:
pull_request:
branches: [ "main" ]
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [ '7.4', '8.2' ]
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
# Add any required extensions here, for example:
extensions: mbstring, intl, pcntl, xml, json
- name: Install dependencies
run: composer install --no-interaction --prefer-dist --optimize-autoloader
- name: Run tests
run: vendor/bin/phpunit