Skip to content

Commit

Permalink
- Update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ianriizky committed Dec 30, 2021
1 parent 635fd31 commit c2ad895
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ jobs:
phpunit:
runs-on: ubuntu-latest

container:
image: kirschbaumdevelopment/laravel-test-runner:8.0

steps:
- name: Setup PHP with Xdebug
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
coverage: xdebug

- name: Checkout code
uses: actions/checkout@v2

Expand All @@ -25,13 +28,11 @@ jobs:
mkdir -p build/logs
vendor/bin/phpunit --coverage-clover build/logs/clover.xml
- uses: actions/checkout@v2
- name: Upload Scrutinizer coverage
uses: sudo-bot/action-scrutinizer@latest
with:
cli-args: "--format=php-clover build/logs/clover.xml"

- uses: actions/checkout@v2
- name: Upload coverage results to Coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit c2ad895

Please sign in to comment.