fix: incorrect method for updateShipmentTrackingDetails #612
Workflow file for this run
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: CI | |
on: [push, pull_request, pull_request_target] | |
jobs: | |
build-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.2 | |
coverage: pcov | |
- name: Install PHP Dependencies | |
run: composer install --no-interaction --prefer-dist --optimize-autoloader | |
- name: PHPStan Analysis | |
run: vendor/bin/phpstan analyse -c phpstan.neon | |
- name: PHPUnit | |
run: php -d pcov.enabled=1 -d pcov.directory=. -d pcov.exclude="~vendor~" vendor/bin/phpunit | |
- name: Archive code coverage results | |
uses: actions/upload-artifact@v4 | |
with: | |
name: code-coverage-report | |
path: tests/resources/clover.xml | |
- name: Check test coverage | |
id: test-coverage | |
uses: johanvanhelden/gha-clover-test-coverage-check@v1 | |
with: | |
percentage: "100" | |
filename: "./tests/resources/clover.xml" | |
- name: phpunit-coverage-badge | |
uses: timkrase/phpunit-coverage-badge@v1.2.0 | |
with: | |
report: ./tests/resources/clover.xml | |
report_type: clover | |
coverage_badge_path: ./.github/coverage.svg | |
push_badge: true | |
repo_token: ${{ secrets.GITHUB_TOKEN }} |