Skip to content

Commit

Permalink
Update pr_tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mambax7 authored Oct 30, 2023
1 parent a8fa00c commit 0a70e58
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions .github/workflows/pr_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI
on: [push, pull_request]

jobs:
phpunit:
phpunit-7-1:
strategy:
fail-fast: false
matrix:
Expand All @@ -20,5 +20,25 @@ jobs:
with:
php-version: ${{ matrix.php_version }}
coverage: xdebug
- name: Unit Tests
run: vendor/bin/phpunit --stderr
- name: Unit Tests with PHPUnit 7.1
run: vendor/bin/phpunit --stderr --version 7.1

phpunit-9-6:
strategy:
fail-fast: false
matrix:
php_version: ["7.1", "7.4", "8.1"]
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: php-actions/composer@v6
with:
php_version: "7.4"
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php_version }}
coverage: xdebug
- name: Unit Tests with PHPUnit 9.6
run: vendor/bin/phpunit --stderr --version 9.6

0 comments on commit 0a70e58

Please sign in to comment.