Skip to content

imaginarymachines/actions-test

Repository files navigation

action-test

This plugin tests the Plugin Machine Github Action

Built With Plugin Machine

Installation

  • Git clone:
  • Install javascript dependencies
    • yarn
  • Install php dependencies
    • composer install

Working With PHP

Autoloader

PHP classes should be located in the "php" directory and follow the PSR-4 standard.

The root namespace is ActionTest.

Tests

  • Run unit tests
    • composer test

Local Development Environment

A docker-compose-based local development environment is provided.

  • Start server
    • docker-compose up -d
  • Acess Site
  • WP CLI
    • Run any WP CLI command in container:
      • docker-compose run wpcli wp ...
    • Setup site with WP CLI
      • docker-compose run wpcli wp core install --url=http://localhost:6033 --title="action-test" --admin_user=admin0 [email protected]
      • docker-compose run wpcli wp user create admin [email protected] --role=administrator --user_pass=pass

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages