vfalconi/terminus-ci-tools

Some tools for running Terminus in a CI pipeline

Maintainers

Package info

github.com/vfalconi/terminus-ci-tools

Type:terminus-plugin

pkg:composer/vfalconi/terminus-ci-tools

Statistics

Installs: 37

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

0.1.1 2025-08-08 03:52 UTC

This package is auto-updated.

Last update: 2026-04-08 05:40:56 UTC


README

Packagist Version

Configuration

These commands require no configuration

Usage

terminus checkEnv -- <site>.<test|live>
# throws an exception if the environment has nothing to deploy
# returns the string 'deployable' otherwise

Installation

mkdir -p $HOME/terminus/local_plugins
git clone https://github.com/vfalconi/terminus-ci-tools $HOME/terminus/local_plugins/terminus-ci-tools
terminus self:plugin:install $HOME/terminus/local_plugins/terminus-ci-tools

Testing

This example project includes four testing targets:

  • composer lint: Syntax-check all php source files.
  • composer cs: Code-style check.
  • composer unit: Run unit tests with phpunit
  • composer functional: Run functional test with bats

To run all tests together, use composer test.

Note that prior to running the tests, you should first run:

  • composer install
  • composer install-tools