Skip to content

Deleting phpunit cache folder #30

Deleting phpunit cache folder

Deleting phpunit cache folder #30

Workflow file for this run

name: CI
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Actions chechout
uses: actions/checkout@v2
- name: Setup PHP with Xdebug, composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
coverage: xdebug
- name: Validate composer.json and composer.lock
run: composer validate
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-php-
- name: Install dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
run: composer install --prefer-dist --no-progress --no-suggest
- name: Run PHPUnit tests
run: composer run-script unit-tests
- uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
flags: unittests
fail_ci_if_error: false
verbose: false