Enhance docs
All checks were successful
PHP Code Checker / PHP Code Checker (push) Successful in 34s
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 56s
PHPUnit / PHPUnit – PHP 8.2 (push) Successful in 59s
PHPUnit / PHPUnit – PHP 8.3 (push) Successful in 51s

This commit is contained in:
André Menrath 2024-09-21 15:04:06 +02:00
parent 6edc402581
commit 2b22013e08
3 changed files with 4 additions and 2 deletions

View file

@ -46,5 +46,5 @@ jobs:
if: steps.cache-composer.outputs.cache-hit != 'true'
uses: ramsey/composer-install@v3
- name: Detect coding standard violations
- name: Run PHP_CodeSniffer
run: ./vendor/bin/phpcs

View file

@ -73,7 +73,7 @@ jobs:
if: steps.cache-wordpress.outputs.cache-hit != 'false'
run: bash tests/install-wp-tests.sh wordpress_test root root 127.0.0.1 6.6 false true true true
- name: Unit Testing
- name: Run PHPUnit
run: cd /workspace/Event-Federation/wordpress-activitypub-event-extensions/ && ./vendor/bin/phpunit
env:
PHP_VERSION: ${{ matrix.php-version }}

View file

@ -1,6 +1,8 @@
version: '3'
# This files purpose is to run the PHPunit tests locally.
# Install docker and docker compose and than just run:
# docker compose up
services:
test-db: