Skip to content

Add unit tests for CanUpload trait #48

Add unit tests for CanUpload trait

Add unit tests for CanUpload trait #48

name: Deploy to Codecov
on:
push:
branches:
- master
- develop
jobs:
coverage_test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
extensions: curl
tools: composer:v2
coverage: xdebug
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Run tests
run: composer test:coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}