Skip to content

Commit

Permalink
add separate test to run phpunit on latest version (without coverage)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregor-j committed Mar 16, 2022
1 parent 537d45d commit 2ba952a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,22 @@ jobs:
run: |
php vendor/bin/phpunit --coverage-clover clover.xml --coverage-text
./cc-test-reporter after-build -t clover --exit-code $?
phpunit-php-latest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Validate composer.json and composer.lock
run: composer validate --strict
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Run test suite
run: php vendor/bin/phpunit

0 comments on commit 2ba952a

Please sign in to comment.