Add more tests, Fix errors with empty charts, Add ci #2
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 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 |