Enhance docs
This commit is contained in:
parent
6edc402581
commit
2b22013e08
3 changed files with 4 additions and 2 deletions
|
@ -46,5 +46,5 @@ jobs:
|
||||||
if: steps.cache-composer.outputs.cache-hit != 'true'
|
if: steps.cache-composer.outputs.cache-hit != 'true'
|
||||||
uses: ramsey/composer-install@v3
|
uses: ramsey/composer-install@v3
|
||||||
|
|
||||||
- name: Detect coding standard violations
|
- name: Run PHP_CodeSniffer
|
||||||
run: ./vendor/bin/phpcs
|
run: ./vendor/bin/phpcs
|
||||||
|
|
|
@ -73,7 +73,7 @@ jobs:
|
||||||
if: steps.cache-wordpress.outputs.cache-hit != 'false'
|
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
|
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
|
run: cd /workspace/Event-Federation/wordpress-activitypub-event-extensions/ && ./vendor/bin/phpunit
|
||||||
env:
|
env:
|
||||||
PHP_VERSION: ${{ matrix.php-version }}
|
PHP_VERSION: ${{ matrix.php-version }}
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
version: '3'
|
version: '3'
|
||||||
|
|
||||||
# This files purpose is to run the PHPunit tests locally.
|
# This files purpose is to run the PHPunit tests locally.
|
||||||
|
# Install docker and docker compose and than just run:
|
||||||
|
# docker compose up
|
||||||
|
|
||||||
services:
|
services:
|
||||||
test-db:
|
test-db:
|
||||||
|
|
Loading…
Reference in a new issue