Skip to content

Merge pull request #57 from amcintosh/issue_44_webhook_callbacks #172

Merge pull request #57 from amcintosh/issue_44_webhook_callbacks

Merge pull request #57 from amcintosh/issue_44_webhook_callbacks #172

Workflow file for this run

# This workflows will run tests when a pull_request is created
name: Run Tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['8.0', '8.1', '8.2']
steps:
- name: Setup
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php
with:
php-version: ${{ matrix.php-versions }}
coverage: pcov
- name: Cache composer dependencies
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: Lint with code-sniffer
run: |
make check-style
- name: Test with phpunit
run: make test