Merge pull request 'CI: PHPUnit Pipeline (#65)' (#69) from feature/issue-65-phpunit-pipeline into main
Some checks failed
Lint / PHP Syntax Check (push) Has been cancelled
Lint / CSS Lint (stylelint) (push) Has been cancelled
Lint / HTML Lint (htmlhint) (push) Has been cancelled
PHPUnit / PHP Unit Tests (push) Has been cancelled

This commit is contained in:
2026-06-04 02:40:48 +02:00

View File

@@ -0,0 +1,25 @@
name: PHPUnit
on:
push:
pull_request:
jobs:
phpunit:
name: PHP Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install PHP & Composer
run: |
apt-get update -qq
apt-get install -y -qq php-cli php-xml php-mbstring composer > /dev/null 2>&1
php --version
composer --version
- name: Install dependencies
run: composer install --no-interaction --prefer-dist --no-progress
- name: Run PHPUnit
run: vendor/bin/phpunit