feat: Add Transloadit notify_url to Uppy integration #81
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |