Skip to content

Commit 3589b7b

Browse files
committed
- Added github workflow
1 parent 01d4453 commit 3589b7b

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/phpunit.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: PHPUnit
2+
3+
on:
4+
push:
5+
branches: [ main, master ]
6+
pull_request:
7+
branches: [ main, master ]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
php: [8.4]
15+
steps:
16+
- uses: actions/checkout@v4
17+
- name: Setup PHP
18+
uses: shivammathur/setup-php@v2
19+
with:
20+
php-version: ${{ matrix.php }}
21+
extensions: 'pdo_sqlite'
22+
- name: Install dependencies
23+
run: composer install --no-progress --no-suggest --prefer-dist
24+
- name: Run tests
25+
run: ./vendor/bin/phpunit --colors=never

0 commit comments

Comments
 (0)