Skip to content

Add more tests, Fix errors with empty charts, Add ci #2

Add more tests, Fix errors with empty charts, Add ci

Add more tests, Fix errors with empty charts, Add ci #2

Workflow file for this run

name: Run Pest
on: [push, pull_request]
jobs:
pest:
name: Pest
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [8.2, 8.3, 8.4]
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: dom, libxml
coverage: none
tools: composer
- name: Cache Composer Dependencies
uses: actions/cache@v4
with:
path: vendor
key: ${{ runner.os }}-composer-${{ matrix.php-version }}-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-composer-${{ matrix.php-version }}-
- name: Install Dependencies
run: composer install --no-progress --prefer-dist --no-interaction
- name: Run Pest
run: vendor/bin/pest