Skip to content

Update README and LINCESE #6

Update README and LINCESE

Update README and LINCESE #6

Workflow file for this run

name: Tests
on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
unit:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
- name: Install PHP dependencies
run: composer install
- name: Prepare code coverage
run: mkdir -p ~/phpunit
- name: Run PHP tests
run: ./vendor/bin/phpunit --log-junit ~/phpunit/junit.xml --coverage-clover=coverage.xml
- name: Run codecov
run: bash <(curl -s https://codecov.io/bash)