Skip to content

Commit

Permalink
feat: added tests.yml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sakanjo committed Oct 29, 2023
1 parent 42c358f commit eb4725f
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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.1'
tools: composer:v2
extensions: mbstring, pdo, pdo_sqlite
coverage: xdebug

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

- name: Run pest
run: ./vendor/bin/pest

0 comments on commit eb4725f

Please sign in to comment.