Skip to content

Pin checks on 8.2 and run unit tests on 5.6 and 8.2 #242

Pin checks on 8.2 and run unit tests on 5.6 and 8.2

Pin checks on 8.2 and run unit tests on 5.6 and 8.2 #242

Workflow file for this run

name: Check and Test
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
check:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Setup
uses: ./.github/actions/setup
with:
php: '8.2'
- name: PHPCS
run: ./bin/check-style
test:
needs: check
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
php: ['5.6', '8.2']
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Setup
uses: ./.github/actions/setup
with:
php: ${{ matrix.php }}
- name: PHPUnit
run: ./bin/unit-tests