Skip to content

🩹 fix workflow file oops #4

🩹 fix workflow file oops

🩹 fix workflow file oops #4

Workflow file for this run

name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '0 0 * * *'
jobs:
tests:
name: PHPUnit
runs-on: ubuntu-latest
strategy:
matrix:
php: ['8.3']
steps:
- uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: Install dependencies
run: composer install
- name: Start server
run: php bin/drumkit --tls-cert=ssl/ci.mercure-router.local.pem --tls-key=ssl/ci.mercure-router.local-key.pem --dev --active-subscriptions &
- name: Wait for server to be ready
run: sleep 2
- name: Run PHPUnit tests
run: vendor/bin/phpunit