Skip to content

Add GitHub Actions workflows for caching, dependency updates, linting… #1

Add GitHub Actions workflows for caching, dependency updates, linting…

Add GitHub Actions workflows for caching, dependency updates, linting… #1

Workflow file for this run

name: Run Tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
extensions: mbstring, xml # Add other extensions as needed
- name: Install Composer Dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: Run PHPUnit Tests
run: ./vendor/bin/phpunit