Files
laravel-ftp-deploy/.github/workflows/tests.yml
T

44 lines
839 B
YAML

name: Tests
on:
push:
pull_request:
permissions:
contents: read
jobs:
tests:
name: PHP ${{ matrix.php }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php:
- '8.3'
- '8.4'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: curl, dom, fileinfo, ftp, mbstring, json
coverage: none
- name: Validate Composer
run: composer validate --strict --no-interaction
- name: Install Dependencies
run: composer install --prefer-dist --no-interaction --no-progress
- name: Run Pint
run: vendor/bin/pint --test
- name: Run Pest
run: vendor/bin/pest