Skip to content

Commit

Permalink
added Codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
ogmueller committed Mar 18, 2024
1 parent 8ec9bf9 commit ddb86e7
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
paths-ignore:
- "README.md"
- "LICENSE.md"
- ".scruitinizer.yml"
- ".scrutinizer.yml"
- ".editorconfig"
branches: ["main"]
pull_request:
Expand Down Expand Up @@ -87,7 +87,13 @@ jobs:
run: "vendor/bin/phpunit --coverage-clover=coverage.clover"
continue-on-error: "${{ matrix.experimental }}"

# Uploading reports for analysis
- name: "Upload coverage reports to Codecov"
uses: "codecov/[email protected]"
with:
token: "${{ secrets.CODECOV_TOKEN }}"
slug: "teqneers/phpunit-stopwatch"

# Uploading reports for analysis
- name: "Upload code-coverage to scrutinizer"
run: "vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover"
continue-on-error: "${{ matrix.experimental }}"
Expand Down

0 comments on commit ddb86e7

Please sign in to comment.