Skip to content

Instantly share code, notes, and snippets.

@sanikkenway
Created December 3, 2025 04:26
Show Gist options
  • Select an option

  • Save sanikkenway/eaced08061a4bab63a8f9039ec37e6f6 to your computer and use it in GitHub Desktop.

Select an option

Save sanikkenway/eaced08061a4bab63a8f9039ec37e6f6 to your computer and use it in GitHub Desktop.
name: Pest Tests
on:
push:
branches:
- 'bugfix/**'
- 'feature/**'
pull_request:
branches:
- 'bugfix/**'
- 'feature/**'
jobs:
pest:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2' # PHP version for your project
coverage: none
extensions: mbstring, intl, pdo_mysql # any other required extension
tools: composer
- name: Install Composer dependencies
run: composer install --prefer-dist --no-progress --no-interaction
- name: Run Pest tests
run: ./vendor/bin/pest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment