20 lines
445 B
YAML
20 lines
445 B
YAML
name: Launch the PHPunit tests
|
|
on:
|
|
push:
|
|
|
|
|
|
jobs:
|
|
phpunit-tests:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v4
|
|
- name: Set up PHP
|
|
uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: '8.1'
|
|
- name: Install dependencies
|
|
run: composer install
|
|
- name: Run PHPUnit tests
|
|
run: vendor/bin/phpunit --configuration phpunit.xml
|