Skip to content

Merge pull request #9 from 2amjsouza/master #1

Merge pull request #9 from 2amjsouza/master

Merge pull request #9 from 2amjsouza/master #1

Workflow file for this run

name: tests
on: [push]
jobs:
test:
name: PHPUnit
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v3
- name: setup enviroment
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
- name: Install dependencies
run: composer install
- name: Run unit tests
run: ./vendor/bin/phpunit --coverage-clover ./tests/_output/coverage.xml
#- name: Upload coverage reports to Codacy
# uses: codacy/codacy-coverage-reporter-action@v1
# with:
# project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
# coverage-reports: ./tests/_output/coverage.xml