test
This commit is contained in:
parent
8b343eb46e
commit
2af7ea5288
3 changed files with 6 additions and 4 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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__ ) );
|
||||||
|
|
Loading…
Reference in a new issue