Skip to content

Attempt to fix the coverage. #24

Attempt to fix the coverage.

Attempt to fix the coverage. #24

Workflow file for this run

name: PHP
on:
push:
branches:
pull_request:
branches:
jobs:
tests:
runs-on: "ubuntu-latest"
name: "Tests | PHP ${{ matrix.php-version }}"
strategy:
matrix:
php-version:
- "8.1"
# @todo need to bump phpunit for 8.0 testing
# - "8.0"
steps:
- name: "Checkout"
uses: "actions/checkout@v3"
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
coverage: xdebug
php-version: "${{ matrix.php-version }}"
tools: composer:v2
- name: "Install dependencies"
run: "composer update --no-progress --prefer-dist"
#- name: "PHPCS"
# run: "php vendor/bin/phpcs src"
- name: "PHPUnit"
env:
CREDENTIALS: ${{ secrets.CREDENTIALS }}
run: "php vendor/bin/phpunit"