Skip to content

Add lint checking for PHP files #23

Add lint checking for PHP files

Add lint checking for PHP files #23

Workflow file for this run

name: Marmerine Pest Tests
on: [ push, pull_request ]
env:
MARMERINE_PORT: 11212
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install PHP version
uses: shivammathur/setup-php@v2
with:
#php-version: '8.1'
extensions: memcached, sqlite
#extensions: memcached, sqlite, event
- name: Install Dependencies
run: composer install
- name: Run PHPStan
run: vendor/bin/phpstan
- name: Start Marmerine
run: php server.php start -d --port=${{env.MARMERINE_PORT}}
- name: Run Pest Tests
run: vendor/bin/pest