Skip to content

Add helper to match raw record contents #10

Add helper to match raw record contents

Add helper to match raw record contents #10

Workflow file for this run

name: CI
on:
push:
branches:
- '**'
tags-ignore:
- '**'
jobs:
test:
strategy:
fail-fast: true
matrix:
os: [ ubuntu-latest, windows-latest ]
php: [ "8.1", "8.0" ]
stability: [ prefer-lowest, prefer-stable ]
name: Test - PHP ${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: openssl
coverage: none
- name: Setup problem matchers
run: |
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: Install dependencies
run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: Execute tests
run: composer test:ci
phpcs:
name: Code style
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "8.1"
extensions: openssl
coverage: none
- name: Install dependencies
run: composer install --prefer-dist --no-interaction
- name: Validate code style
run: composer phpcs:ci