Skip to content

ci: add initial Pest tests #1

ci: add initial Pest tests

ci: add initial Pest tests #1

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- master
jobs:
php-tests:
name: Testing on PHP ${{ matrix.php }}
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.2, 8.3]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
- name: Setup Problem Matches
run: |
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: Install PHP dependencies
run: composer update --no-interaction --no-progress --ansi
- name: Unit Tests
run: composer test --ansi