Skip to content

Commit

Permalink
Merge pull request lukewaite#41 from lukewaite/add_scruitinizer_2
Browse files Browse the repository at this point in the history
Add scruitinizer
  • Loading branch information
lukewaite authored Dec 13, 2022
2 parents 5cd0344 + 86097aa commit 39955f6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@ jobs:
strategy:
fail-fast: true
matrix:
php: ['7.3', '7.4', '8.0', '8.1', '8.2']
php: [ '7.3', '7.4', '8.0', '8.1', '8.2' ]

name: PHP ${{ matrix.php }}

steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 10

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -37,3 +39,8 @@ jobs:

- name: Execute tests
run: vendor/bin/phpunit

- name: Upload Scrutinizer coverage
uses: sudo-bot/action-scrutinizer@latest
with:
cli-args: "--format=php-clover tests/reports/clover.xml --revision=${{ github.event.pull_request.head.sha || github.sha }}"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ which will fire your batch job at the correct time.
[ico-version]: https://img.shields.io/packagist/v/lukewaite/laravel-queue-aws-batch.svg?style=flat-square
[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
[ico-github]: https://img.shields.io/github/workflow/status/lukewaite/laravel-queue-aws-batch/Tests/main.svg?style=flat-square
[ico-coverage]: https://img.shields.io/scrutinizer/coverage/g/lukewaite/laravel-queue-aws-batch/master.svg?style=flat-square
[ico-coverage]: https://img.shields.io/scrutinizer/coverage/g/lukewaite/laravel-queue-aws-batch/main.svg?style=flat-square

[link-packagist]: https://packagist.org/packages/lukewaite/laravel-queue-aws-batch
[link-github]: https://github.com/lukewaite/laravel-queue-aws-batch/actions/workflows/tests.yml?query=branch%3Amain++
[link-coverage]: https://scrutinizer-ci.com/g/lukewaite/laravel-queue-aws-batch/?branch=master
[link-coverage]: https://scrutinizer-ci.com/g/lukewaite/laravel-queue-aws-batch/?branch=main

0 comments on commit 39955f6

Please sign in to comment.