Skip to content

update generate-bytecode-php to match peggy #64

update generate-bytecode-php to match peggy

update generate-bytecode-php to match peggy #64

Workflow file for this run

name: CI Tests
on:
push:
branches:
- '*'
pull_request:
branches: [develop]
jobs:
NodeJS:
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Test
run: npm run test
PHP:
strategy:
matrix:
php-version: [8.0, 8.1, 8.2, 8.3]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: "Checkout"
uses: "actions/checkout@v3"
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
coverage: "none"
php-version: "${{ matrix.php-version }}"
tools: composer:v2
ini-values: error_reporting=-1
- name: "Install dependencies"
run: "composer install --no-interaction --no-progress"
- name: "PHP Tests"
run: npm run php:test