test
All checks were successful
PHP Code Checker / Run PHP Code Checker (pull_request) Successful in 44s
Unit Testing / Run phpunit tests (pull_request) Successful in 3m57s

This commit is contained in:
André Menrath 2024-09-21 12:30:23 +02:00
parent 8b343eb46e
commit 2af7ea5288
3 changed files with 6 additions and 4 deletions

View file

@ -29,8 +29,10 @@ jobs:
id: cache-composer id: cache-composer
uses: https://code.forgejo.org/actions/cache@v4 uses: https://code.forgejo.org/actions/cache@v4
with: with:
path: vendor path: |
key: cache-composer-1 ./vendor/
/root/.cache/composer/
key: cache-composer-2
- name: Setup PHP - name: Setup PHP
uses: https://github.com/shivammathur/setup-php@v2 uses: https://github.com/shivammathur/setup-php@v2

View file

@ -35,7 +35,7 @@ jobs:
path: | path: |
WP_TESTS_DIR WP_TESTS_DIR
WP_CORE_DIR WP_CORE_DIR
key: wordpress-cache-1 key: cache-wordpress-1
- name: Setup PHP - name: Setup PHP
uses: https://github.com/shivammathur/setup-php@v2 uses: https://github.com/shivammathur/setup-php@v2

View file

@ -18,7 +18,7 @@
*/ */
// Exit if accessed directly. // Exit if accessed directly.
defined('ABSPATH' ) || exit; // @codeCoverageIgnore defined( 'ABSPATH' ) || exit; // @codeCoverageIgnore
define( 'ACTIVITYPUB_EVENT_EXTENSIONS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); define( 'ACTIVITYPUB_EVENT_EXTENSIONS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
define( 'ACTIVITYPUB_EVENT_EXTENSIONS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) ); define( 'ACTIVITYPUB_EVENT_EXTENSIONS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );