Skip to content

Fix property not initialized error on jsonSerialize #58

Fix property not initialized error on jsonSerialize

Fix property not initialized error on jsonSerialize #58

Workflow file for this run

name: run-tests
on: [push, pull_request, workflow_dispatch]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
php: [8.2, 8.1, 8.0]
dependency-version: [prefer-stable]
name: P${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
- name: Install dependencies
run: composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
- name: Install locales
run: |
sudo locale-gen en_US.UTF-8
sudo locale-gen de_DE.UTF-8
sudo locale-gen fr_BE.UTF-8
sudo locale-gen en_GB.UTF-8
sudo update-locale
- name: List installed locales
run: locale -a
- name: Execute tests
run: ./vendor/bin/pest