Skip to content

Commit

Permalink
ci: run tests on GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
konecnyjakub committed Jan 13, 2025
1 parent aa70b40 commit 3caffe3
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Tests

on:
- pull_request
- push

jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
php:
- '7.4'
- '8.0'
- '8.1'
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer, phing
coverage: pcov
- run: composer update --prefer-dist --no-progress --no-interaction
- run: phing test

0 comments on commit 3caffe3

Please sign in to comment.