Skip to content

crear action

crear action #1

Workflow file for this run

name: Run PHPUnit Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
extensions: mbstring, dom
coverage: none
tools: composer
- name: Install dependencies
run: composer install --no-progress --no-suggest --prefer-dist
- name: Run PHPUnit
run: ./vendor/bin/phpunit