Fix property not initialized error on jsonSerialize #56
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |