Skip to content

Added support to <sch:let> , document() and updated tests #21

Added support to <sch:let> , document() and updated tests

Added support to <sch:let> , document() and updated tests #21

Workflow file for this run

name: validate and test
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['8.0', '8.1' , '8.2' , '8.3']
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: libxml, xml, dom
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install dependencies
run: composer install --no-interaction --dev
# -C to make sure dom extension is loaded
- name: Run test suite
run: php vendor/bin/tester -C -s tests