Skip to content

Commit

Permalink
Add test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Jan 27, 2025
1 parent f8980e1 commit 6abd5b4
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Run tests

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Php
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'

- name: Install dependencies
uses: ramsey/composer-install@v3

- name: Run tests
run: vendor/bin/phpunit --coverage-text

0 comments on commit 6abd5b4

Please sign in to comment.