PHPackages                             webbuilders-group/silverstripe-recipe-github-ci - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. webbuilders-group/silverstripe-recipe-github-ci

ActiveSilverstripe-recipe[Testing &amp; Quality](/categories/testing)

webbuilders-group/silverstripe-recipe-github-ci
===============================================

Silverstripe Recipe for Bootstrapping a Project using GitHub Actions as a CI

1.0.1(5y ago)1196BSD-3-ClausePHPCI failing

Since Jun 17Pushed 5y ago4 watchersCompare

[ Source](https://github.com/webbuilders-group/silverstripe-recipe-github-ci)[ Packagist](https://packagist.org/packages/webbuilders-group/silverstripe-recipe-github-ci)[ RSS](/packages/webbuilders-group-silverstripe-recipe-github-ci/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (7)Versions (3)Used By (0)

Silverstripe GitHub Actions CI Recipe
=====================================

[](#silverstripe-github-actions-ci-recipe)

Silverstripe Recipe for Bootstrapping a Project using GitHub Actions as a CI, for details on included/expanded features see the [docs](docs/).

Maintainer Contact
------------------

[](#maintainer-contact)

- Ed Chipman ([UndefinedOffset](https://github.com/UndefinedOffset))

Requirements
------------

[](#requirements)

- SilverStripe Framework 4.4+

Installation
------------

[](#installation)

**Composer (recommended):**

```
composer require webbuilders-group/silverstripe-recipe-github-ci --dev

```

Getting Started
---------------

[](#getting-started)

This recipe contains support for tests run against [PHPUnit](https://github.com/sebastianbergmann/phpunit) and [Behat](https://github.com/Behat/Behat) as well as code style validation using [PHP\_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) (using PSR-2 standards). Out of the box this CI expects all site code to be in the `app` folder. It also expects all PHPUnit tests to be in `app/tests/PHPUnit`, with all Behat tests to be in `app/tests/behat/features`.

If you do not need Behat tests you will need to remove the `behat` job in `.github/workflows/ci.yml`. If you want to disable [PHP\_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) you need to remove the "Validate Code Style" step from the same file.

Failed Tests Artifacts
----------------------

[](#failed-tests-artifacts)

Artifacts such as an error log from Silverstripe, or screenshots from the Behat tests will be added to the artifacts section on for the action's run on GitHub. For the PHPUnit tests it will be named `CI--phpunit`, for Behat tests it will be named `CI--behat` unless you change them.

Testing Locally
---------------

[](#testing-locally)

Testing locally is still possible though it will of course work differently than the GitHub Actions runner will.

#### For PHPUnit

[](#for-phpunit)

To run PHPUnit locally you can use the following to run all tests in the `app/tests/PHPUnit` folder. If you want to run a specific test in that folder simply include the full path, so for example `app/tests/PHPUnit` might become `app/tests/PHPUnit/SomeFolder/SomeTest.php`.

```
vendor/bin/PHPUnit app/tests/PHPUnit
```

#### For Behat

[](#for-behat)

For Behat you either need to have to have your Silverstripe install in a webserver or use [silverstripe/serve](https://github.com/silverstripe/silverstripe-serve) (included). As well you need to install and have running [ChromeDriver](https://chromedriver.chromium.org/downloads) in a version that matches your local install of Chrome.

After all of that, you should be able to run the following to run all Behat tests in the `app/tests/behat/features` folder. If you want to run a specific test in that folder simply include the full path, so for example `app/tests/behat/features` becomes `app/tests/behat/features/some-folder/some-scenario.feature`.

```
vendor/bin/behat @app ./app/tests/behat/features/ --rerun
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~145 days

Total

2

Last Release

2007d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4339255555acb728d7708895663e2a047a73c09f4394aa25bf038817e2d25d44?d=identicon)[WebbuildersGroup](/maintainers/WebbuildersGroup)

---

Top Contributors

[![UndefinedOffset](https://avatars.githubusercontent.com/u/1391558?v=4)](https://github.com/UndefinedOffset "UndefinedOffset (32 commits)")

---

Tags

testingphpunitsilverstripegithubBehatciactions

### Embed Badge

![Health badge](/badges/webbuilders-group-silverstripe-recipe-github-ci/health.svg)

```
[![Health](https://phpackages.com/badges/webbuilders-group-silverstripe-recipe-github-ci/health.svg)](https://phpackages.com/packages/webbuilders-group-silverstripe-recipe-github-ci)
```

###  Alternatives

[moodlehq/moodle-plugin-ci

Helps running Moodle plugins analysis checks and tests under various CI environments.

612.6M](/packages/moodlehq-moodle-plugin-ci)[robiningelbrecht/phpunit-pretty-print

Prettify PHPUnit output

76460.0k15](/packages/robiningelbrecht-phpunit-pretty-print)[jbzoo/ci-report-converter

The tool converts different error reporting standards for deep integration with popular CI systems (TeamCity, IntelliJ IDEA, GitHub Actions, etc)

30784.4k2](/packages/jbzoo-ci-report-converter)[juampi92/test-seo

Easy way to test your SEO

26341.0k](/packages/juampi92-test-seo)[jonathanjfshaw/phpunitbehat

Use Behat from within PHPUnit.

2143.8k1](/packages/jonathanjfshaw-phpunitbehat)[robiningelbrecht/phpunit-coverage-tools

PHPUnit coverage tools

1783.0k33](/packages/robiningelbrecht-phpunit-coverage-tools)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
