Skip to content

Commit 84979eb

Browse files
committed
chore: test:unit workflow
1 parent a52ff60 commit 84979eb

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/tests.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v4
13+
14+
- name: Setup PHP
15+
uses: shivammathur/setup-php@v2
16+
with:
17+
php-version: '8.2'
18+
tools: composer:v2
19+
20+
- name: Install dependencies
21+
run: composer install --prefer-dist --no-progress
22+
23+
- name: Unit Tests
24+
run: composer test:unit

0 commit comments

Comments
 (0)