Skip to content

tests

tests #41

Workflow file for this run

name: tests
on:
push:
schedule:
- cron: '35 7 * * THU'
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: ['8.2']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up PHP ${{ matrix.php-version }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, intl
coverage: xdebug
- name: Install dependencies
run: composer install --prefer-dist
- name: Test
run: vendor/bin/phpunit --coverage-clover=coverage.xml
- name: Upload coverage data to Codecov
continue-on-error: true
run: bash <(curl -s https://codecov.io/bash)