Skip to content

Fixed the tests

Fixed the tests #9

Workflow file for this run

name: Continuous Integration
'on':
push:
branches:
- master
pull_request:
branches:
- master
jobs:
ci:
name: Run the tests suite
runs-on: ubuntu-latest
strategy:
matrix:
php-versions:
- '8.1'
- '8.2'
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '${{ matrix.php-versions }}'
extensions: mbstring, dom
tools: jolicode/castor
- name: Validate composer.json and composer.lock
run: composer validate --strict
- name: Install dependencies
run: castor install
-
name: Install quality tools
run: castor qa:install
-
name: Check coding standards
run: castor qa:cs --dry-run
-
name: Run PHPStan
run: castor qa:phpstan
-
name: Run tests
run: castor qa:phpunit