Skip to content

Commit

Permalink
Add phpunit-php82 job
Browse files Browse the repository at this point in the history
- Checkout step, removed fetch-depth: 0, so default value fetch-depth: 1, use git shallow clone to improve performance.
- Use phpunit 9.5.26 for phpunit-php82 job
  • Loading branch information
hungtrinh authored and glensc committed Nov 15, 2022
1 parent ed7aed6 commit e6be069
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,20 @@ name: PHPUnit-9
on: [push, pull_request]

jobs:
phpunit-php82:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Download phpunit
run: |
wget -O phpunit https://phar.phpunit.de/phpunit-9.5.26.phar
chmod +x phpunit
shell: bash
- name: PHPUnit 9 on php 8.2
uses: docker://php:8.2.0RC6-cli-alpine
with:
args: -d memory_limit=-1 ./phpunit --bootstrap tests/TestHelper.php tests/Zend/AllTests.php
phpunit-php81:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit e6be069

Please sign in to comment.