Skip to content

Attempt to fix version #77

Attempt to fix version

Attempt to fix version #77

Workflow file for this run

name: Coverage
on:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- uses: shivammathur/setup-php@v2
# https://github.com/boyney123/github-actions/blob/HEAD/src/actions/setup-php.md
with:
php-version: '8.1'
tools: php-cs-fixer, phpunit
- uses: ramsey/composer-install@v2
with:
dependency-versions: locked
composer-options: '--ignore-platform-reqs'
- name: Test
run: |
make test-all-coverage
env:
TEST_ACCOUNT_KEY: ${{secrets.TEST_ACCOUNT_KEY}}
TEST_ACCOUNT_SECRET: ${{secrets.TEST_ACCOUNT_SECRET}}
- uses: codecov/codecov-action@v2
with:
files: ./build/logs/clover.xml
fail_ci_if_error: true
target: 90% # Desired coverage percentage
threshold: 2% # Allowed coverage percentage deviation
verbose: true