DAPE.work

GitLab CI: PHP Automated Testing Pipeline

Run PHPUnit tests automatically via GitLab CI pipeline.

Expected time saved: 3 hours/week

Complexity: Beginner

Steps:

  1. 1 - Install PHP
  2. 2 - Install dependencies
  3. 3 - Run tests
  4. 4 - Report results

Tools:
GitLab CI
PHP

Example

phpunit --coverage

Tags

php gitlab