Skip to content

Commit

Permalink
ci: add GitHub Actions workflow for testing PHP code
Browse files Browse the repository at this point in the history
  • Loading branch information
janyksteenbeek committed Jan 2, 2025
1 parent c3f4845 commit a287ea0
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Tests
on: ['push', 'pull_request']

jobs:
ci:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.4
tools: composer:v2
coverage: xdebug

- name: Install Dependencies
run: composer install --no-interaction --prefer-dist --optimize-autoloader

- name: Tests
run: ./vendor/bin/pest --ci

0 comments on commit a287ea0

Please sign in to comment.