Skip to content

add phpunit testing to GH actions #1

add phpunit testing to GH actions

add phpunit testing to GH actions #1

Workflow file for this run

name: Phpunit
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
tests:
runs-on: ubuntu-22.04
strategy:
matrix:
php-versions: ['8.2']
steps:
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- uses: actions/checkout@v4
- name: Install Dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Execute tests PHPUnit tests
run: ./vendor/bin/phpunit tests