Skip to content

Commit

Permalink
ci: run phpunit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tsantos8080 committed Oct 27, 2022
1 parent 971a5d8 commit bd11537
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CI - Continuous Integration
on:
pull_request:
types: [ opened, ready_for_review, synchronize, reopened ]
jobs:
phpunit:
name: PHPUnit
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
php-version:
- "7.4"
- "8.0"
- "8.1"
dependency-versions:
- "lowest"
- "highest"

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: none

- name: Install composer dependencies
uses: ramsey/composer-install@v2
with:
dependency-versions: ${{ matrix.dependency-versions }}

- name: Run PHPUnit
run: vendor/bin/phpunit tests

0 comments on commit bd11537

Please sign in to comment.