Skip to content

Tests

Tests #61

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: Run PHPUnit tests
run: vendor/bin/phpunit
- name: Logs of the server by test
if: always()
uses: actions/upload-artifact@v4
with:
name: server-logs
path: |
logs