Skip to content

Commit 96a5c92

Browse files
committed
Add test workflow
1 parent e3985ba commit 96a5c92

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Tests
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- name: Setup PHP
11+
uses: shivammathur/setup-php@v2
12+
with:
13+
php-version: '8.2'
14+
- name: Install dependencies
15+
run: composer install
16+
- name: Run tests
17+
run: vendor/bin/phpunit

0 commit comments

Comments
 (0)