Skip to content

Add badges

Add badges #2

Workflow file for this run

name: Tests
on:
push:
jobs:
tests:
name: tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Configure PHP environment
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
extensions: mbstring, intl
coverage: none
- uses: ramsey/composer-install@v2
with:
composer-options: "--ignore-platform-reqs --optimize-autoloader"
- name: Setup git
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "<>"
- name: Migrate PHPUnit configuration
run: vendor/bin/phpunit --migrate-configuration
- name: Run tests
run: php vendor/bin/phpunit --bootstrap=tests/bootstrap.php --no-coverage