Tasker/.github/workflows/ci.yml
Funky Waddle 3ac2894fd8
Some checks are pending
CI / tasker (8.2) (push) Waiting to run
CI / tasker (8.3) (push) Waiting to run
feat: complete Tasker project implementation, documentation, and examples
2026-02-22 01:14:22 -06:00

33 lines
863 B
YAML

name: CI
on:
push:
branches: [ main, master ]
pull_request:
jobs:
tasker:
runs-on: ubuntu-latest
defaults:
run:
working-directory: Tasker
strategy:
matrix:
php: ['8.2', '8.3']
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
tools: phpstan, php-cs-fixer, phpunit
- name: Validate composer.json
run: php -v && composer validate --strict
- name: Install dependencies
run: composer install --no-interaction --no-progress --prefer-dist
- name: PHPUnit
run: vendor/bin/phpunit --configuration phpunit.xml --display-deprecations
- name: PHPStan
run: vendor/bin/phpstan analyse --no-progress --memory-limit=512M