Skip to content

Added install instructions. #6

Added install instructions.

Added install instructions. #6

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: ['8.3']
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: gmp, xdebug
coverage: xdebug
- name: Install dependencies
run: composer self-update && composer install && composer dump-autoload
- name: Run PHPStan
run: vendor/bin/phpstan --no-progress
- name: Run tests and collect coverage
run: vendor/bin/phpunit --coverage-clover coverage.xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}