Skip to content

Commit

Permalink
Issue #14: Add github action to run tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
donquixote committed Oct 27, 2024
1 parent 805f189 commit a393f6a
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI Packages

on:
- push

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

strategy:
fail-fast: true
matrix:
php: [7.4]

steps:
- uses: actions/checkout@v4

- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
# @todo Review which extensions are needed.
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, gd
coverage: none

- run: composer install --no-interaction

- run: vendor/bin/phpunit

0 comments on commit a393f6a

Please sign in to comment.