Skip to content

Support BER encoding #48

Support BER encoding

Support BER encoding #48

Workflow file for this run

name: CI
on:
push:
pull_request:
permissions:
contents: write
pull-requests: write
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
ref: ${{ github.head_ref }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.5
extensions: dom, json, libxml, mbstring, xml, xmlwriter, xdebug
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v4
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Run ECS (Easy Coding Standard)
run: vendor/bin/ecs check
- name: Run PHPStan
run: vendor/bin/phpstan analyse
- name: Run PHPUnit tests with coverage
run: XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-clover=coverage.xml
- name: Run octocov
uses: k1LoW/octocov-action@v1