Skip to content

Compare to empty string (#39) #35

Compare to empty string (#39)

Compare to empty string (#39) #35

Workflow file for this run

name: test
on: [push, pull_request]
jobs:
test:
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- name: php-5.6
os: ubuntu-20.04
php-version: '5.6'
- name: php-7.0
os: ubuntu-20.04
php-version: '7.0'
- name: php-7.1
os: ubuntu-20.04
php-version: '7.1'
- name: php-7.2
os: ubuntu-20.04
php-version: '7.2'
- name: php-7.4
os: ubuntu-20.04
php-version: '7.4'
- name: php-8.1
os: ubuntu-latest
php-version: '8.1'
- name: php-8.2
os: ubuntu-latest
php-version: '8.2'
- name: php-8.3
os: ubuntu-latest
php-version: '8.3'
- name: ubuntu-latest
os: ubuntu-latest
steps:
- if: ${{ matrix.php-version }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
- uses: actions/checkout@v4
- name: Validate composer.json and composer.lock
run: composer validate --strict
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: phpcs
run: ./vendor/bin/phpcs -n --standard=PSR2 src/ tests/
- name: PHP version
run: php -v
- name: tests
run: php ./tests/HJSONParserTest.php