Skip to content

Commit

Permalink
Issue #9: Add github action for testing in helpers package.
Browse files Browse the repository at this point in the history
  • Loading branch information
donquixote committed Sep 14, 2024
1 parent c74e783 commit ece1492
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI

on:
- push

jobs:
tests:
name: Tests
runs-on: ubuntu-latest

strategy:
fail-fast: true
matrix:
php: [8.2]
composer-flags: ['--prefer-lowest', '']

steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: json
coverage: none
- run: composer install --prefer-dist --no-interaction --no-progress
- run: composer update --no-progress ${{ matrix.composer-flags }}
- run: vendor/bin/phpunit

0 comments on commit ece1492

Please sign in to comment.