Skip to content

PHPUnit for Symfony

Actions
PHPUnit via Symfony bridge
1.0.0
Latest
Star (6)

Symfony's PHPUnit for GitHub actions

PHPUnit action for GitHub on PHP 7.4 This action triggers the PHPUnit bridge made by Symfony

Setup

Add these lines to your YAML config file

- name: PHPUnit for Symfony
  uses: chindit/actions-phpunit-symfony@master

WARNING : Be sure you have these lines before :

- uses: actions/checkout@v2
- uses: php-actions/composer@v1

First line is used to checkout code and second line is used to install composer dependencies.

NOTE You must have added the Symfony PHPUnit.

Your workflow file should look like this:

name: phpunit
on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2

      - name: Install dependencies
        run: composer install --prefer-dist --no-progress --no-suggest

      - name: PHPUnit
        uses: chindit/actions-phpunit-symfony@master

TIP: You can replace @master by @1.0.0 or any specific version of this package you'd like to use.

PHPUnit for Symfony is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

PHPUnit via Symfony bridge
1.0.0
Latest

PHPUnit for Symfony is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.