Fixed Codecov integration and moved into a new step

This commit is contained in:
Claudio Sanches 2021-03-13 22:08:46 -03:00
parent 16823082aa
commit 4e893022a0
1 changed files with 6 additions and 1 deletions

View File

@ -17,6 +17,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 100
- name: Setup PHP
uses: shivammathur/setup-php@v2
@ -48,5 +50,8 @@ jobs:
- name: Run unit tests with code coverage. Allow to fail.
run: |
RUN_CODE_COVERAGE=1 bash ./tests/bin/phpunit.sh
bash <(curl -s https://codecov.io/bash)
exit 0
- name: Send code coverage to Codecov.
run: |
bash <(curl -s https://codecov.io/bash)