Skip to content

Latest commit

 

History

History
38 lines (21 loc) · 1.08 KB

CONTRIBUTING.md

File metadata and controls

38 lines (21 loc) · 1.08 KB

Contributing to Extended CPTs

Bug reports, code contributions, and general feedback are very welcome. These should be submitted through the GitHub repository. Development happens in the develop branch, and any pull requests should be made against that branch please.

Setting up Locally

If you want to contribute to Extended CPTs, you should install the developer dependencies in order to run the tests.

Prerequisites

Setup

Install the PHP dependencies:

composer install

Running the Tests

The test suite includes integration tests which run in a Docker container. Ensure Docker Desktop is running, then start the containers with:

composer test:start

To run the whole test suite which includes integration tests, linting, and static analysis:

composer test

To run tests individually, run one of:

composer test:integration
composer test:phpcs
composer test:phpstan

To stop the Docker containers:

composer test:stop