Skip to content

Add additional checks on the database connection #73

Add additional checks on the database connection

Add additional checks on the database connection #73

# .github/workflows/code_coverage.yaml
name: Code_Coverage
on: ["pull_request"]
jobs:
code_coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: 8.2
coverage: pcov
# Implicitly runs `composer tests` in post update cmd. So PHPCS, MD and other static analysis is executed at
# this point.
- run: composer install --no-progress
- run: vendor/bin/phpunit --coverage-clover build/logs/clover.xml
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: build/logs/clover.xml