Skip to content

Commit

Permalink
[*]: try to use github actions v2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
voku committed Mar 28, 2021
1 parent ca86d4c commit 56401fc
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,21 +79,22 @@ jobs:
run: |
php vendor/bin/phpstan analyse
- name: scrutinizer-ci
continue-on-error: true
run: |
export TRAVIS=$CI
export TRAVIS_JOB_ID=$GITHUB_RUN_ID
wget -q https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
- name: Upload coverage results to Coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
composer global require php-coveralls/php-coveralls
php-coveralls --coverage_clover=build/logs/clover.xml -v
- name: Upload coverage results to Codecov
uses: codecov/codecov-action@v1
with:
files: build/logs/clover.xml

- name: Upload coverage results to Scrutinizer
uses: sudo-bot/action-scrutinizer@latest
with:
cli-args: "--format=php-clover build/logs/clover.xml"

- name: Archive logs artifacts
if: ${{ failure() }}
Expand Down

0 comments on commit 56401fc

Please sign in to comment.