An open API service indexing awesome lists of open source software.

https://github.com/wp-cli/automated-tests

Runs the entire test suite on a regular basis
https://github.com/wp-cli/automated-tests

cli hacktoberfest testing wordpress wp-cli

Last synced: 13 days ago
JSON representation

Runs the entire test suite on a regular basis

Awesome Lists containing this project

README

        

WP-CLI Automated Tests
======================

This repository runs automated tests for the nightly Phar builds of WP-CLI.

[![Testing](https://github.com/wp-cli/automated-tests/actions/workflows/testing.yml/badge.svg)](https://github.com/wp-cli/automated-tests/actions/workflows/testing.yml)

## Usage Instructions

The testing is set up through the use of environment variables in the Travis CI matrix configuration.

### Testing source packages

`$TEST_PACKAGE` enables tests against source packages. You can select which commands/packages to test.

The following options can be set:

* **`none`** - No packages are tested.
* **`all`** - The framework as well as all bundled commands are tested.
* **`commands`** - Only the command packages are tested.
* **``** - Only the package named is tested.

### Testing against Phar distributions

`$TEST_PHAR` enables tests against the Phar distributions. You can select which distribution to test. The selected distribution will be tested against all bundled commands/packages.

The following options can be set:

* **`none`** - Skip phar testing.
* **`nightly`** - Use the nightly phar.
* **`stable `** - Use the latest stable phar release.
* **`all`** - Use both the latest stable release phar as well as the nightly phar.

### Automated Builds

This repository is being rebuilt through a Travis CI cron job every 24 hours to post test results in Emails and Slack.