Skip to content

Bump phpunit/phpunit from 9.6.7 to 9.6.8 #68

Bump phpunit/phpunit from 9.6.7 to 9.6.8

Bump phpunit/phpunit from 9.6.7 to 9.6.8 #68

Workflow file for this run

name: phpunit
on:
push:
branches: [ master ]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
# https://github.com/shivammathur/setup-php#tada-php-support
php-versions:
- '7.3'
- '7.4'
- '8.0'
- '8.1'
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- name: Compose setup
run: |
composer validate
composer check-platform-reqs
composer dump-autoload
composer install --no-interaction
- name: Test the code
run: composer run coverage
- name: Upload coverage results to Coveralls
if: matrix.php-versions == '8.0'
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
composer global require php-coveralls/php-coveralls
php-coveralls --coverage_clover=.coverage.xml --json_path=/tmp/coverage.json -v