Skip to content

feat: added unit test ci for different storages #3

feat: added unit test ci for different storages

feat: added unit test ci for different storages #3

Workflow file for this run

name: PHPUnit Tests
on:
pull_request:
jobs:
ecs:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- name: Install Composer Dependencies
run: composer install
- name: Run ecs
run: ./vendor/bin/ecs check src tests
phpstan:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- name: Install Composer Dependencies
run: composer install
- name: Run phpstan
run: ./vendor/bin/phpstan analyse src tests