Skip to content

Readme and composer.json fixes #9

Readme and composer.json fixes

Readme and composer.json fixes #9

Workflow file for this run

name: Tests
on:
push:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
php-cs-checker:
name: Codestyle check
runs-on: ubuntu-latest
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
extensions: zip
- name: Checkout
uses: actions/checkout@v2
- name: Composer install
run: composer install
- name: Run PHP CS Fixer
run: vendor/bin/php-cs-fixer fix --dry-run
phpunit:
name: Unit tests
runs-on: ubuntu-latest
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
extensions: zip
- name: Checkout
uses: actions/checkout@v2
- name: Composer install
run: composer install
- name: Run Tests
run: vendor/bin/phpunit