Skip to content

WiP

WiP #50

Workflow file for this run

name: Tests
on:
push:
branches: [ master, "isEqualNode" ]
pull_request:
branches: [ master ]
jobs:
current:
runs-on: ubuntu-latest
strategy:
matrix:
php-version:
- "8.1"
- "8.2"
- "8.3"
- "8.4"
steps:
- uses: "actions/checkout@v3"
- uses: "shivammathur/setup-php@v2"
with:
php-version: ${{ matrix.php-version }}
- name: Validate composer.json
run: composer validate --strict
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3
with:
path: vendor
key: php-${{ matrix.php-version }}
- name: Install Composer dependencies
run: composer install --prefer-dist --no-progress
- name: Run test suite
run: composer run-script test
outdated-8-1-2:
runs-on: ubuntu-20.04
container: setupphp/node@sha256:9271c0a914deb70c1717ec113410c9d43e48123d0ed398bb696f00f4f0ef15ba
strategy:
matrix:
php-version:
- "8.1"
steps:
- uses: "actions/checkout@v3"
- uses: "shivammathur/setup-php@v2"
with:
php-version: ${{ matrix.php-version }}
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3
with:
path: vendor
key: php-outdated
- name: Install Composer dependencies
run: composer install --prefer-dist --no-progress
- name: Run test suite
run: composer run-script test