Skip to content

Commit cc358cf

Browse files
committed
Added github ci action
Closes #28
1 parent 41e1c59 commit cc358cf

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: ci
2+
3+
on: [push]
4+
5+
jobs:
6+
testsuite:
7+
strategy:
8+
matrix:
9+
php-versions: ['8.1']
10+
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Setup PHP
17+
uses: shivammathur/setup-php@v2
18+
with:
19+
php-version: ${{ matrix.php-version }}
20+
extensions: mbstring, intl-72.1
21+
ini-values: zend.assertions = 1
22+
23+
- name: Install composer dependencies.
24+
run: composer install --no-interaction --prefer-dist --optimize-autoloader
25+
26+
- name: Run PHPUnit.
27+
run: vendor/bin/phpunit

0 commit comments

Comments
 (0)