Skip to content

Commit

Permalink
Added basic ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyharris committed Jan 9, 2024
1 parent 5985759 commit 3d9f880
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: ci

on: [push]

jobs:
testsuite:
strategy:
matrix:
php-versions: ['8.1', '8.2', '8.3']

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, intl-72.1
ini-values: zend.assertions = 1

- name: Install composer dependencies.
run: composer install --no-interaction --prefer-dist --optimize-autoloader

- name: Run PHPUnit.
run: vendor/bin/phpunit
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.phpunit.cache/
vendor/
composer.lock

0 comments on commit 3d9f880

Please sign in to comment.